* locale(1) not POSIX compliant (easy to fix, patch almost included)
@ 2011-05-02 16:33 Jens Schweikhardt
2011-05-03 10:35 ` Corinna Vinschen
0 siblings, 1 reply; 2+ messages in thread
From: Jens Schweikhardt @ 2011-05-02 16:33 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: locale(1) not POSIX compliant (easy to fix, patch almost included)
2011-05-02 16:33 locale(1) not POSIX compliant (easy to fix, patch almost included) Jens Schweikhardt
@ 2011-05-03 10:35 ` Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2011-05-03 10:35 UTC (permalink / raw)
To: cygwin
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
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-03 10:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-02 16:33 locale(1) not POSIX compliant (easy to fix, patch almost included) Jens Schweikhardt
2011-05-03 10:35 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).