]> granicus.if.org Git - strace/commitdiff
WNOHANG fix
authorRoland McGrath <roland@redhat.com>
Sat, 21 Dec 2002 23:25:26 +0000 (23:25 +0000)
committerRoland McGrath <roland@redhat.com>
Sat, 21 Dec 2002 23:25:26 +0000 (23:25 +0000)
ChangeLog

index 84381bc914a25b476db05c77d323e46e5162de9e..99c714f9a8bbf81ca5e27195a58afcc4ce6ea7b5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-12-21  Roland McGrath  <roland@redhat.com>
+
+       * syscall.c (force_result): New function.
+       * process.c (internal_wait): Handle ECHILD exit from wait call with
+       WNOHANG flag set; force the return value to 0 in the inferior when it
+       has live children we are tracing.
+
 2002-12-17  Roland McGrath  <roland@redhat.com>
 
        * linux/ia64/syscallent.h: Remove placeholders 275-298 to catch up