From b7fb789d886d1b1c9ce9c437b17b63b2e071bb06 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 25 Aug 2000 16:37:20 +0000 Subject: [PATCH] Update. 2000-08-25 Ulrich Drepper * sysdeps/posix/system.c (__libc_system): We cannot use vfork here since we call sigaction in the child. --- ChangeLog | 5 +++++ linuxthreads/ChangeLog | 6 ++++++ sysdeps/posix/system.c | 6 +++--- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c9c3e5f4e9..3cbcca9d37 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-08-25 Ulrich Drepper + + * sysdeps/posix/system.c (__libc_system): We cannot use vfork here + since we call sigaction in the child. + 2000-08-25 Andreas Jaeger * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 2fce6eb467..36e0de47b9 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,9 @@ +2000-08-25 Ulrich Drepper + + * sysdeps/pthread/pthread.h + (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Defined. + (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: Defined. + 2000-08-24 Andreas Jaeger * Examples/ex13.c: Include for strerror prototype and diff --git a/sysdeps/posix/system.c b/sysdeps/posix/system.c index 1df92203de..bf84d2fb1e 100644 --- a/sysdeps/posix/system.c +++ b/sysdeps/posix/system.c @@ -85,12 +85,12 @@ __libc_system (const char *line) return -1; } } -#define UNBLOCK __sigprocmask (SIG_SETMASK, &omask, (sigset_t *) NULL) +# define UNBLOCK  __sigprocmask (SIG_SETMASK, &omask, (sigset_t *) NULL) #else -#define UNBLOCK 0 +# define UNBLOCK 0 #endif - pid = __vfork (); + pid = __fork (); if (pid == (pid_t) 0) { /* Child side. */