This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Earlier reset to "C" locale?


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.

Andy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]