Reverting from 1.7.0-45 [was Re: [1.7]: For the love of god, don't update!]

Charles Wilson cygwin@cwilson.fastmail.fm
Mon Apr 6 13:51:00 GMT 2009


Corinna Vinschen wrote:

> However, just before the application's main() is called, the locale is
> set back to "C", see
> http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?r1=1.352&r2=1.353&cvsroot=src&f=h

Hmm. "before main()" huh?  Is that *before*, or *after*, C++ static
initializers are called?  If it's after, then that could be a problem,
at least for languages that support such things. (C++, Java?)

> so the effect is, that the application is running in the "C" locale if
> it doesn't call setlocale with an explicitely or implicitely (per the
> environment) set locale other than "C" or "POSIX".

--
Chuck

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list