[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Test failures in coreutils-5.3.0 on cygwin
From: |
Paul Eggert |
Subject: |
Re: Test failures in coreutils-5.3.0 on cygwin |
Date: |
Wed, 19 Jan 2005 11:42:42 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Eric Blake <address@hidden> writes:
> POSIX requires that a group name that is completely numeric (yes,
> that is a portable group name) takes preference over a group number.
That's awkward. The obvious workaround is to keep prepending 0s until
you come up with a name that's not used. But I'd rather not worry
about that unless someone actually runs into the problem.
> At the moment, I'm not on the machine where I noticed all the
> problems, but off the top of my head,
If you can come up with an exact list of problems, preferably with
patches, that'd be nice.
> Is there any program that makes it easy to map between group names and
> numbers, other than manually trying to parse /etc/group?
/etc/group isn't portable. "id" is usually the best.
> Is it worth adding more GNU extensions to the id program to
> accomplish this?
It might be, yes (not that I'd like to spend my time implementing it :-).
Frankly I didn't follow your examples, though.