OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wait4.c: provide hidden __wait4_nocancel independent of any guards
[uclinux-h8/uClibc.git]
/
libc
/
stdlib
/
system.c
diff --git
a/libc/stdlib/system.c
b/libc/stdlib/system.c
index
ec25ead
..
151a229
100644
(file)
--- 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: