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

Jens Schweikhardt schweikh@schweikhardt.net
Mon May 2 16:33:00 GMT 2011


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.

Regards,

	Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)

--
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