This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] Read locale settings from environment
On Feb 25 12:20, Jeff Johnston wrote:
> Thanks Corinna. Just one tweak in the documentation if you could -
> please note that the string
> passed back from setlocale() is only valid for the same category passed
> in and that the string should
> be copied if subsequent calls to setlocale are made and this string is
> going to be used to restore the
> locale to its previous state. Other than that, please feel free to
> check it in.
Thanks, I aligned the wording to POSIX related to this problem.
Unfortunately there's a bug in the $LANG handling I didn't notice
before. Before I fix this single tiny bug, what about my suggestion in
http://sourceware.org/ml/newlib/2009/msg00176.html?
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat