mirror of git://sourceware.org/git/glibc.git
mq_receive calls mq_timedreceive, and mq_send calls mq_timedsend. But mq_receive and mq_send were in POSIX by 1996, while mq_timed* were added in the 2001 edition of POSIX. This patch fixes this by making mq_timed* into weak aliases for __mq_timed* and calling the __mq_timed* names. Tested for x86_64 and x86 (testsuite, and that disassembly of installed shared libraries is unchanged by the patch). [BZ #18545] * rt/mq_timedreceive.c (mq_timedreceive): Rename to __mq_timedreceive and define as alias of __mq_timedreceive. Use hidden_weak. * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and define as alias of __mq_timedsend. Use hidden_weak. * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use __mq_timedsend as strong name. (mq_timedreceive): Use __mq_timedreceive as strong name. * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto. (__mq_timedreceive): Likewise. * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call __mq_timedreceive instead of mq_timedreceive. * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend instead of mq_timedsend. * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace): Remove variable. |
||
|---|---|---|
| .. | ||
| bits | ||
| Depend | ||
| Makefile | ||
| Versions | ||
| aio.h | ||
| aio_cancel.c | ||
| aio_error.c | ||
| aio_fsync.c | ||
| aio_misc.c | ||
| aio_notify.c | ||
| aio_read.c | ||
| aio_read64.c | ||
| aio_return.c | ||
| aio_sigqueue.c | ||
| aio_suspend.c | ||
| aio_write.c | ||
| aio_write64.c | ||
| clock-compat.c | ||
| clock_getcpuclockid.c | ||
| clock_getres.c | ||
| clock_gettime.c | ||
| clock_nanosleep.c | ||
| clock_settime.c | ||
| get_clockfreq.c | ||
| lio_listio.c | ||
| lio_listio64.c | ||
| mq_close.c | ||
| mq_getattr.c | ||
| mq_notify.c | ||
| mq_open.c | ||
| mq_receive.c | ||
| mq_send.c | ||
| mq_setattr.c | ||
| mq_timedreceive.c | ||
| mq_timedsend.c | ||
| mq_unlink.c | ||
| mqueue.h | ||
| shm_open.c | ||
| shm_unlink.c | ||
| timer_create.c | ||
| timer_delete.c | ||
| timer_getoverr.c | ||
| timer_gettime.c | ||
| timer_settime.c | ||
| tst-aio.c | ||
| tst-aio2.c | ||
| tst-aio3.c | ||
| tst-aio4.c | ||
| tst-aio5.c | ||
| tst-aio6.c | ||
| tst-aio7.c | ||
| tst-aio8.c | ||
| tst-aio9.c | ||
| tst-aio10.c | ||
| tst-aio64.c | ||
| tst-clock.c | ||
| tst-clock2.c | ||
| tst-clock_nanosleep.c | ||
| tst-cpuclock1.c | ||
| tst-cpuclock2.c | ||
| tst-cputimer1.c | ||
| tst-cputimer2.c | ||
| tst-cputimer3.c | ||
| tst-mqueue.h | ||
| tst-mqueue1.c | ||
| tst-mqueue2.c | ||
| tst-mqueue3.c | ||
| tst-mqueue4.c | ||
| tst-mqueue5.c | ||
| tst-mqueue6.c | ||
| tst-mqueue7.c | ||
| tst-mqueue8.c | ||
| tst-mqueue9.c | ||
| tst-shm.c | ||
| tst-timer.c | ||
| tst-timer2.c | ||
| tst-timer3.c | ||
| tst-timer4.c | ||
| tst-timer5.c | ||