This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Correctly report nscd child process status.


On Wed, Jun 25, 2014 at 01:21:24AM +0200, Arjun Shankar wrote:
> 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.
> 
> This patch should fix that.

Thanks for the patch, it looks good, but there are a couple of things
that usually need to be done before a bug fix is pushed in.  It is not
a compulsion if you don't intend to contribute regularly, so if you're
not interested in doing those then say so and I'll do those things for
you:

1. File a bug against nscd in the sourceware bugzilla
2. Refer to the contribution checklist[1] and update your submission
   accordingly.  For example, your submission is missing a ChangeLog
   entry.

Siddhesh

[1] https://sourceware.org/glibc/wiki/Contribution%20checklist

Attachment: pgpNEz9u8CNy8.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]