Patch looks correct according to these docs:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/uselocale.html

"If the newloc argument is a null pointer, the object returned is the
current locale or LC_GLOBAL_LOCALE if there has been no previous call to
uselocale() for the current thread."

Not sure if it handles the LC_GLOBAL_LOCALE part correctly though.

--
João Matos
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to