bug-coreutils
[Top][All Lists]
Advanced

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

Re: chown xxx.yyy, POSIX, and LSB


From: Paul Jarc
Subject: Re: chown xxx.yyy, POSIX, and LSB
Date: Mon, 23 Feb 2004 14:42:58 -0500
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

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.


paul




reply via email to

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