about summary refs log tree commit diff
path: root/posix/regcomp.c
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 /posix/regcomp.c
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.
Diffstat (limited to 'posix/regcomp.c')
-rw-r--r--posix/regcomp.c1
1 files changed, 1 insertions, 0 deletions
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);