diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-16 00:38:38 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-16 00:38:38 +0000 |
commit | d482ef60da96645599b808bb74fe014e1ab4671e (patch) | |
tree | cf7028139dad0bcca533c61f5a3fbbcec60696ea /libc/stdio/popen.c | |
parent | 59bf5cbe99873625ce3d5a9b984e9b98e659eefa (diff) |
Get rid of warnings, use internals, create new hidden versions
Diffstat (limited to 'libc/stdio/popen.c')
-rw-r--r-- | libc/stdio/popen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/stdio/popen.c b/libc/stdio/popen.c index c3ee09381..f84a27a3c 100644 --- a/libc/stdio/popen.c +++ b/libc/stdio/popen.c @@ -19,6 +19,8 @@ #define dup2 __dup2 #define fdopen __fdopen #define pipe __pipe +#define vfork __vfork +#define fork __fork #include <stdio.h> #include <stdlib.h> @@ -109,7 +111,7 @@ FILE *popen(const char *command, const char *modes) /* SUSv3 mandates an exit code of 127 for the child if the * command interpreter can not be invoked. */ - _exit(127); + _exit_internal(127); } VFORK_UNLOCK; |