about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-11-05 21:06:51 +0000
committerUlrich Drepper <drepper@redhat.com>2002-11-05 21:06:51 +0000
commit0c2ee21ca64436813fe511c74312d1ef1659916d (patch)
treebd899e0810d5340ba592cd0202415280c5453e7a
parent5bfed16d69f287251f95d8ec35ec16068b453224 (diff)
downloadglibc-0c2ee21ca64436813fe511c74312d1ef1659916d.tar.gz
glibc-0c2ee21ca64436813fe511c74312d1ef1659916d.tar.xz
glibc-0c2ee21ca64436813fe511c74312d1ef1659916d.zip
Update.
2002-11-05  Ulrich Drepper  <drepper@redhat.com>

	* posix/regcomp.c (regcomp): Initialize preg->can_be_null to zero.

	* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_pread64,
	s_pwrite64, s_ftruncate, s_truncate): Re-add.
-rw-r--r--ChangeLog7
-rw-r--r--posix/regcomp.c1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list6
3 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1097cfd2ad..879ff54ca3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-05  Ulrich Drepper  <drepper@redhat.com>
+
+	* posix/regcomp.c (regcomp): Initialize preg->can_be_null to zero.
+
 2002-11-05  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
 
 	* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Handle
@@ -16,6 +20,9 @@
 	* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
 	Update clobber list and add a comment about the syscall ABI.
 
+	* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_pread64,
+	s_pwrite64, s_ftruncate, s_truncate): Re-add.
+
 2002-11-05  Jakub Jelinek  <jakub@redhat.com>
 
 	* iconv/gconv_dl.c (free_mem): Clear loaded.
diff --git a/posix/regcomp.c b/posix/regcomp.c
index 14147804f4..b4f273a6ce 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -468,6 +468,7 @@ regcomp (preg, pattern, cflags)
   preg->buffer = NULL;
   preg->allocated = 0;
   preg->used = 0;
+  preg->can_be_null = 0;
 
   /* Try to allocate space for the fastmap.  */
   preg->fastmap = re_malloc (char, SBC_MAX);
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list b/sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
index 13f0e9bba9..c3c2eb97f4 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
@@ -9,3 +9,9 @@ rt_sigsuspend	-	rt_sigsuspend	i:pi	__syscall_rt_sigsuspend
 rt_sigtimedwait	-	rt_sigtimedwait	i:pppi	__syscall_rt_sigtimedwait
 oldgetrlimit	EXTRA	getrlimit	i:ip	__old_getrlimit	getrlimit@GLIBC_2.0
 oldsetrlimit	EXTRA	setrlimit	i:ip	__old_setrlimit	setrlimit@GLIBC_2.0
+
+# System calls with 64bit args
+s_ftruncate64	ftruncate64 ftruncate64	i:iii	__syscall_ftruncate64
+s_pread64	pread64	pread		i:ibnii	__syscall_pread
+s_pwrite64	pwrite64 pwrite		i:ibnii	__syscall_pwrite
+s_truncate64	truncate64 truncate64	i:sii	__syscall_truncate64