[PATCH] Read locale settings from environment

Corinna Vinschen vinschen@redhat.com
Wed Feb 25 19:12:00 GMT 2009


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



More information about the Newlib mailing list