diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-16 01:18:01 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-16 01:18:01 +0000 |
commit | 403d3b6c026812d82647eabf9370722f3f1e7893 (patch) | |
tree | f4300320d7a7739990ad6b13aaf3918e65d94c2a /libc/stdlib/system.c | |
parent | 6a6ae6e1a26f32fd896b0a7b740129161bfb008b (diff) |
Convert all the rest, remove isxupper/isxlower, if someone objects, I'll add it back
Diffstat (limited to 'libc/stdlib/system.c')
-rw-r--r-- | libc/stdlib/system.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <stdio.h> #include <stddef.h> @@ -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); |