locale(1) not POSIX compliant (easy to fix, patch almost included)

Corinna Vinschen corinna-cygwin@cygwin.com
Tue May 3 10:35:00 GMT 2011

On May  2 18:32, Jens Schweikhardt wrote:
> hello, world\n
> "locale -a" prints its output space padded, while POSIX specifies
> <quote src="http://pubs.opengroup.org/onlinepubs/009695399/utilities/locale.html">
> If any arguments are specified:
>     If the -a option is specified, the names of all the public locales
>     shall be written, each in the following format:
>     "%s\n", <locale name>
> </quote>
> There's a "%-15s" somewhere where a "%s" should be, it seems.

Thanks for the report.  I fixed it in CVS.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list