diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-04-17 15:45:46 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:40 +0200 |
commit | a92060fe161073a41a3b73e8533d65125f84e3a8 (patch) | |
tree | 62a3110fc3c5e256b59f1b19ab8803326400f5ce /libc/stdlib/system.c | |
parent | 0a043c30ee71245dfe7c9d82d654312c5e1f6127 (diff) |
wait4.c: provide hidden __wait4_nocancel independent of any guards
Correct wait4 guard (it is only __USE_BSD)
wait3, system: use __wait4_nocancel
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdlib/system.c')
-rw-r--r-- | libc/stdlib/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c index ec25ead73..151a229c6 100644 --- a/libc/stdlib/system.c +++ b/libc/stdlib/system.c @@ -61,7 +61,7 @@ int __libc_system(const char *command) __printf("Waiting for child %d\n", pid); #endif - if (wait4(pid, &wait_val, 0, 0) == -1) + if (__wait4_nocancel(pid, &wait_val, 0, 0) == -1) wait_val = -1; out: |