This is the mail archive of the libc-hacker@sourceware.cygnus.com 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]

Re: Problem with gid


Andreas Jaeger <aj@arthur.rhein-neckar.de> writes:

> So, what's the correct solution:
> - tell Bernhard to use:
> nogroup:x:-2:root
> - use strtoul instead of strtol - but this might lead to the same
>   problems, just the other way round.
> - fix the reading of gid

The second.  Reading negative numbers using strtoul is handled in a
way which does not lead to problems.  I've changed it here and will
check it in for 2.1 and 2.0 in a few minutes.

Thanks,

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


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