From d482ef60da96645599b808bb74fe014e1ab4671e Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 16 Dec 2005 00:38:38 +0000 Subject: Get rid of warnings, use internals, create new hidden versions --- libc/stdio/popen.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libc/stdio/popen.c') 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 #include @@ -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; -- cgit v1.2.3