From 628a0aa1523e7160dac986d7988fcc08375cfd88 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 1 Dec 1998 19:35:00 +0000 Subject: Update. 1998-11-29 1998 H.J. Lu * libio/genops.c (_IO_unbuffer_write): Renamed from _IO_unbuffer_all. (_IO_cleanup): Call _IO_unbuffer_write instead of _IO_unbuffer_all. 1998-12-01 Ulrich Drepper * intl/localealias.c: Use *_unlocked version of stdio function if _LIBC_REENTRANT is defined, not _LIBC. 1998-12-01 Andreas Jaeger * include/grp.h: Add prototypes for internal functions __getgrgid_r and __getgrnam_r. * inet/herrno.c: Include for prototype, undef h_errno. * resolv/nsap_addr.c: Include for inet_nsap_addr and inet_nsap_ntoa prototypes. * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option to gcc to have it find the correct system header. Patch by Maciej W. Rozycki . Reported by Maciej W. Rozycki . --- linuxthreads/ChangeLog | 6 ++++++ linuxthreads/wrapsyscall.c | 9 ++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) (limited to 'linuxthreads') diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 32b0159701..92c4492692 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,9 @@ +1998-12-01 Andreas Jaeger + + * wrapsyscall.c: Include for msync, + for system and for tcdrain prototype. + Correct msync declaration. + 1998-11-29 Roland McGrath * sysdeps/pthread/bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_get, diff --git a/linuxthreads/wrapsyscall.c b/linuxthreads/wrapsyscall.c index 4659692d56..d55e6cca61 100644 --- a/linuxthreads/wrapsyscall.c +++ b/linuxthreads/wrapsyscall.c @@ -1,5 +1,5 @@ /* Wrapper arpund system calls to provide cancelation points. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. @@ -19,10 +19,13 @@ Boston, MA 02111-1307, USA. */ #include +#include #include #include #include #include +#include +#include #include #include #include @@ -87,8 +90,8 @@ strong_alias (lseek, __lseek) /* msync(2). */ -CANCELABLE_SYSCALL (int, msync, (const void *start, size_t length, int flags), - (start, length, flags)) +CANCELABLE_SYSCALL (int, msync, (__ptr_t addr, size_t length, int flags), + (addr, length, flags)) /* nanosleep(2). */ -- cgit v1.2.3