>> So I guess it'd be more like POSIXLY_INCORRECT :)
>
> Just to be clear about what I mean, here is the patch I intend to
> apply for the Fedora Core coreutils package:
>
> --- coreutils-5.2.0/lib/userspec.c.allow_old_options  2004-02-23 16:51:00.000000000 
> +0000
> +++ coreutils-5.2.0/lib/userspec.c    2004-02-23 17:04:41.000000000 +0000
> @@ -171,7 +171,8 @@
>    separator = strchr (spec, ':');
>
>    /* 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.


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to