mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 00:10:10 +00:00
Update.
2000-09-07 Ulrich Drepper <drepper@redhat.com> * assert/__assert.c: Undefine NDEBUG before include <assert.h>. * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning. * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
This commit is contained in:
parent
d998b043aa
commit
21e41c5887
@ -1,3 +1,10 @@
|
|||||||
|
2000-09-07 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* assert/__assert.c: Undefine NDEBUG before include <assert.h>.
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
|
||||||
|
* sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
|
||||||
|
|
||||||
2000-09-06 Andreas Schwab <schwab@suse.de>
|
2000-09-06 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
|
* sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
|
/* We have to see the prototype. */
|
||||||
|
#undef NDEBUG
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -34,5 +34,5 @@ msgsnd (msqid, msgp, msgsz, msgflg)
|
|||||||
int msgflg;
|
int msgflg;
|
||||||
{
|
{
|
||||||
return INLINE_SYSCALL (ipc, 5, IPCOP_msgsnd, msqid, msgsz,
|
return INLINE_SYSCALL (ipc, 5, IPCOP_msgsnd, msqid, msgsz,
|
||||||
msgflg, CHECK_N (msgp, msgsz));
|
msgflg, (void *) CHECK_N (msgp, msgsz));
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ shmat (shmid, shmaddr, shmflg)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
result = (void *__unbounded) INLINE_SYSCALL (ipc, 5, IPCOP_shmat, shmid, shmflg,
|
result = (void *__unbounded) INLINE_SYSCALL (ipc, 5, IPCOP_shmat, shmid, shmflg,
|
||||||
__ptrvalue (&raddr),
|
(long int) __ptrvalue (&raddr),
|
||||||
__ptrvalue (shmaddr));
|
__ptrvalue (shmaddr));
|
||||||
if ((unsigned long) result <= -(unsigned long) SHMLBA)
|
if ((unsigned long) result <= -(unsigned long) SHMLBA)
|
||||||
result = raddr;
|
result = raddr;
|
||||||
|
Loading…
Reference in New Issue
Block a user