projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Trattato PR_SET_PTRACER.
[gapil.git]
/
listati
/
hand_sigchild.c
diff --git
a/listati/hand_sigchild.c
b/listati/hand_sigchild.c
index 2ae8cc61f375eaa361d3f4581cc283afd63fc653..aa8d4d4e55dca0db68b74db5b1aaaf14edbb9366 100644
(file)
--- a/
listati/hand_sigchild.c
+++ b/
listati/hand_sigchild.c
@@
-9,10
+9,7
@@
void HandSigCHLD(int sig)
do {
errno = 0;
pid = waitpid(WAIT_ANY, &status, WNOHANG);
do {
errno = 0;
pid = waitpid(WAIT_ANY, &status, WNOHANG);
- if (pid > 0) {
- debug("child %d terminated with status %x\n", pid, status);
- }
- } while ((pid > 0) && (errno == EINTR));
+ } while (pid > 0);
/* restore errno value */
errno = errno_save;
/* return */
/* restore errno value */
errno = errno_save;
/* return */