]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
Correctly report nscd child process status (BZ #17092)
authorArjun Shankar <arjun.is@lostca.se>
Fri, 27 Jun 2014 18:01:47 +0000 (23:31 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Fri, 27 Jun 2014 18:01:47 +0000 (23:31 +0530)
commit6f12d0629f411c6b580585dbcfb4409a72b7362e
tree349b3789262cfa097ad6ac3d6d669bcbc19f24d0
parentcb403c34c6f6e1cce5018864485958cfc2e28906
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.
ChangeLog
NEWS
nscd/nscd.c