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 /io/xmknodat.c | |
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 'io/xmknodat.c')
0 files changed, 0 insertions, 0 deletions