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

Bug#206784: acknowledged by developer (Bug#206784: fixed in glibc 2.3.2-5)



GOTO Masanori <gotom@debian.or.jp> writes:

> If POSIXLY_CORRECT is set, localedef switches its mode to verbose (so it's
> equivalent to -v option). If it's verbose mode, warning messages shows. And
> it returns !0 value.

Well, doesn't that sound like a bug? Does POSIX require all these warnings and
an error return even on successful completion? Why would anyone want a command
that always returns an error?

       --posix
              Be strictly POSIX conformant. Implies --verbose. This option
              currently has no other effect. Posix conformance is assumed if
              the environment variable POSIXLY_CORRECT is set.

It doesn't document it changing the return code, in fact it specifically says
it has no other effect.

-- 
greg




Reply to: