Earlier reset to "C" locale?

Andy Koppe andy.koppe@gmail.com
Thu May 5 05:50:00 GMT 2011

The reset to the "C" locale for LC_CTYPE currently is done just before
main() is invoked at the end of dll_crt0_1(). I think it would be
better do this a bit earlier, just before
'cygwin_finished_initializing = true;', so that application code
invoked via dlls.init() or the premain mechanism starts in the correct
locale too. Also, it looks like programs that dynamically load the
Cygwin DLL currently miss out on the reset.


More information about the Cygwin-developers mailing list