Using environment variables for global mutable state isn't exactly good practice, is it?
I can't think of any time I had wanted to do that.
What exactly are the programs that break if this changes?
I can't think of any time I had wanted to do that.
What exactly are the programs that break if this changes?
Look up the mess around LOCALE sometime.
The best the programmer can do is perform all the setenv calls before spawning any threads or making any library calls.