From 403d3b6c026812d82647eabf9370722f3f1e7893 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 16 Dec 2005 01:18:01 +0000 Subject: Convert all the rest, remove isxupper/isxlower, if someone objects, I'll add it back --- libc/stdlib/system.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libc/stdlib/system.c') diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c index 616d2dda6..a537156fd 100644 --- a/libc/stdlib/system.c +++ b/libc/stdlib/system.c @@ -1,6 +1,8 @@ #define wait4 __wait4 #define execl __execl #define signal __signal +#define vfork __vfork +#define fork __fork #include #include @@ -38,7 +40,7 @@ int __libc_system(char *command) signal(SIGCHLD, SIG_DFL); execl("/bin/sh", "sh", "-c", command, (char *) 0); - _exit(127); + _exit_internal(127); } /* Signals are not absolutly guarenteed with vfork */ signal(SIGQUIT, SIG_IGN); -- cgit v1.2.3