diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-07 02:32:27 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-07 02:32:27 +0000 |
commit | e523bd15353350c3480b8a1820a0944b0fa8212e (patch) | |
tree | 60485116f9c62c306bb753f12f9d4eb79d16aa4e /libc/stdio/popen.c | |
parent | 3b3434516a3415d7e0f4e1d50c553876dcb337b2 (diff) | |
download | uClibc-alpine-e523bd15353350c3480b8a1820a0944b0fa8212e.tar.bz2 uClibc-alpine-e523bd15353350c3480b8a1820a0944b0fa8212e.tar.xz |
Big fricking merge from trunk.
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; |