[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#10021: [PATCH id] Add error-checking on GNU
From: |
Ludovic Courtès |
Subject: |
Re: bug#10021: [PATCH id] Add error-checking on GNU |
Date: |
Mon, 14 Nov 2011 21:29:42 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) |
Hi,
Eric Blake <eblake@redhat.com> skribis:
> On 11/14/2011 11:54 AM, Paul Eggert wrote:
[...]
>> euid = geteuid ();
>> - if (GETID_MAY_FAIL && euid == -1 && !use_real
>> + if (euid < 0 && !use_real
>
> That is, how can this work? On systems where uid_t is signed, it makes
> sense, but on systems where uid_t is unsigned, this will always be false
And again, it *is* unsigned in glibc.
Thanks,
Ludo’.
- Re: bug#10021: [PATCH id] Add error-checking on GNU, (continued)
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Jim Meyering, 2011/11/14
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Ludovic Courtès, 2011/11/14
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Jim Meyering, 2011/11/14
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Paul Eggert, 2011/11/14
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Roland McGrath, 2011/11/14
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Eric Blake, 2011/11/14
- Re: bug#10021: [PATCH id] Add error-checking on GNU,
Ludovic Courtès <=
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Paul Eggert, 2011/11/14
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Ludovic Courtès, 2011/11/15
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Paul Eggert, 2011/11/15
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Eric Blake, 2011/11/15
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Eric Blake, 2011/11/16
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Jim Meyering, 2011/11/15
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Paul Eggert, 2011/11/15
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Paul Eggert, 2011/11/16
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Paul Eggert, 2011/11/20
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Jim Meyering, 2011/11/13