2009/5/15 Corinna Vinschen <corinna-cyg...@cygwin.com>:
> Here's one problem.  What if an application uses setenv("LANG", ...)?

Oh. Hmmm, I think that anything should not occur.

> Do you want Cygwin to intercept all calls to setenv() to check for
> setting $LC_ALL/LC_CTYPE/LANG?

No. I think that only setlocale() has to do the check.
The reason:
- setlocale(LC_CTYPE, "C") is called from Cygwin startup.
- The following code become valid.
setenv("LANG", "...");
setlocale(LC_ALL, "");
-- 
IWAMURO Motnori <http://vmi.jp/>

--
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/

Reply via email to