diff options
author | Arjun Shankar <arjun.is@lostca.se> | 2014-06-27 23:31:47 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-06-27 23:31:47 +0530 |
commit | 6f12d0629f411c6b580585dbcfb4409a72b7362e (patch) | |
tree | 349b3789262cfa097ad6ac3d6d669bcbc19f24d0 /ChangeLog | |
parent | cb403c34c6f6e1cce5018864485958cfc2e28906 (diff) | |
download | glibc-6f12d0629f411c6b580585dbcfb4409a72b7362e.tar.gz glibc-6f12d0629f411c6b580585dbcfb4409a72b7362e.tar.xz glibc-6f12d0629f411c6b580585dbcfb4409a72b7362e.zip |
Correctly report nscd child process status (BZ #17092)
The nscd parent process returns the result of a `wait' call rather than the exit status of the child it waits for. These two aren't exactly the same. In my case (and probably on most machines), the exit status is in the 2nd LSB of the result of `wait', and so: e.g. if the nscd child process returns 1, the parent returns 1 << 8, which Bash happily reports as 0.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 510e78ac0f..79ac38715d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-06-27 Arjun Shankar <arjun.is@lostca.se> + + [BZ #17092] + * nscd/nscd.c (monitor_child): Return exit status of child + instead of return value from wait syscall. + 2014-06-27 Joseph Myers <joseph@codesourcery.com> * configure.ac (libc_commonpagesize): Remove variable. |