aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix/system.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-25 16:37:20 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-25 16:37:20 +0000
commitb7fb789d886d1b1c9ce9c437b17b63b2e071bb06 (patch)
treef07fc3979bf1c3992094a032714fcf528fd1b636 /sysdeps/posix/system.c
parente76f126bcdcdc64aaa18b2479172437a5bcbb96d (diff)
downloadglibc-b7fb789d886d1b1c9ce9c437b17b63b2e071bb06.zip
glibc-b7fb789d886d1b1c9ce9c437b17b63b2e071bb06.tar.gz
glibc-b7fb789d886d1b1c9ce9c437b17b63b2e071bb06.tar.bz2
Update.
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.
Diffstat (limited to 'sysdeps/posix/system.c')
-rw-r--r--sysdeps/posix/system.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/posix/system.c b/sysdeps/posix/system.c
index 1df9220..bf84d2f 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. */