This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]