[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chown xxx.yyy, POSIX, and LSB
From: |
Tim Waugh |
Subject: |
Re: chown xxx.yyy, POSIX, and LSB |
Date: |
Mon, 23 Feb 2004 19:47:37 +0000 |
User-agent: |
Mutt/1.4.1i |
On Mon, Feb 23, 2004 at 02:42:58PM -0500, Paul Jarc wrote:
> Jim Meyering <address@hidden> wrote:
> >> /* If there is no colon, then see if there's a `.'. */
> >> - if (separator == NULL && posix2_version () < 200112)
> >> + if (separator == NULL && (posix2_version () < 200112 ||
> >> + !getenv ("POSIXLY_CORRECT")))
> >
> > Please consider using a different environment variable.
> > Setting POSIXLY_CORRECT should not make an otherwise-POSIX-conforming
> > program like GNU chown *non*conforming.
>
> Setting the variable would mean that "." *wouldn't* be recognized,
> AFAICT. If it's *not* set, then "." is considered as a separator.
Precisely -- this is what I tried to say in words, and then with the
code. :-)
The intent is to make 'POSIXLY_CORRECT=1 chown ...' behave as in
unpatched coreutils-5.2.0.
Tim.
*/
pgpNrG0lKFwIh.pgp
Description: PGP signature
- chown xxx.yyy, POSIX, and LSB, Tim Waugh, 2004/02/23
- Re: chown xxx.yyy, POSIX, and LSB, Jim Meyering, 2004/02/23
- Re: chown xxx.yyy, POSIX, and LSB, Tim Waugh, 2004/02/23
- Re: chown xxx.yyy, POSIX, and LSB, Jim Meyering, 2004/02/23
- Re: chown xxx.yyy, POSIX, and LSB, Paul Jarc, 2004/02/23
- Re: chown xxx.yyy, POSIX, and LSB,
Tim Waugh <=
- Re: chown xxx.yyy, POSIX, and LSB, Jim Meyering, 2004/02/23
- Re: chown xxx.yyy, POSIX, and LSB, Paul Eggert, 2004/02/23