about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-12-01 19:35:00 +0000
committerUlrich Drepper <drepper@redhat.com>1998-12-01 19:35:00 +0000
commit628a0aa1523e7160dac986d7988fcc08375cfd88 (patch)
treea69799810ae1c679709deed767709e944d15c45c /linuxthreads
parentf9ded616b20aa0e48eaee5e2799d84f71feeb640 (diff)
downloadglibc-628a0aa1523e7160dac986d7988fcc08375cfd88.tar.gz
glibc-628a0aa1523e7160dac986d7988fcc08375cfd88.tar.xz
glibc-628a0aa1523e7160dac986d7988fcc08375cfd88.zip
Update.
1998-11-29 1998  H.J. Lu  <hjl@gnu.org>

	* 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  <drepper@cygnus.com>

	* intl/localealias.c: Use *_unlocked version of stdio function if
	_LIBC_REENTRANT is defined, not _LIBC.

1998-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* include/grp.h: Add prototypes for internal functions
	__getgrgid_r and __getgrnam_r.

	* inet/herrno.c: Include <netdb.h> for prototype, undef h_errno.

	* resolv/nsap_addr.c: Include <arpa/inet.h> 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 <macro@ds2.pg.gda.pl>.

	Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog6
-rw-r--r--linuxthreads/wrapsyscall.c9
2 files changed, 12 insertions, 3 deletions
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  <aj@arthur.rhein-neckar.de>
+
+	* wrapsyscall.c: Include <sys/mman.h> for msync,
+	<stdlib.h> for system and <termios.h> for tcdrain prototype.
+	Correct msync declaration.
+
 1998-11-29  Roland McGrath  <roland@baalperazim.frob.com>
 
 	* 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 <drepper@cygnus.com>, 1996.
 
@@ -19,10 +19,13 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <fcntl.h>
+#include <sys/mman.h>
 #include <pthread.h>
 #include <unistd.h>
 #include <stdarg.h>
 #include <stddef.h>
+#include <stdlib.h>
+#include <termios.h>
 #include <sys/resource.h>
 #include <sys/wait.h>
 #include <sys/socket.h>
@@ -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).  */