2000-08-25  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/system.c (__libc_system): We cannot use vfork here
	since we call sigaction in the child.
This commit is contained in:
Ulrich Drepper 2000-08-25 16:37:20 +00:00
parent e76f126bcd
commit b7fb789d88
3 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2000-08-25 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/system.c (__libc_system): We cannot use vfork here
since we call sigaction in the child.
2000-08-25 Andreas Jaeger <aj@suse.de>
* iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on

View File

@ -1,3 +1,9 @@
2000-08-25 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/pthread.h
(PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Defined.
(PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: Defined.
2000-08-24 Andreas Jaeger <aj@suse.de>
* Examples/ex13.c: Include <string.h> for strerror prototype and

View File

@ -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. */