bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10021: [PATCH id] Add error-checking on GNU


From: Jim Meyering
Subject: bug#10021: [PATCH id] Add error-checking on GNU
Date: Sat, 19 Nov 2011 19:23:16 +0100

Paul Eggert wrote:
> I found yet-another tricky bug in that id.c code,
> and fixed it as follows:
>
> Subject: [PATCH] id: fix bug when euid != ruid
>
> * src/id.c (main): Report an error if no args are given and getuid
> fails, because print_full_info needs ruid.  Redo code so that
> getuid and friends are invoked only when needed; this makes the
> code easier to follow, and is how I found the above bug.

Thanks.
I've marked this as done.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]