Re:Don't setenv in multi-threaded code on glibc
by alyandon on Tuesday January 31, 2017 @02:08PM
(#13534068)
I don't know why you are getting downvotes. Someone tried to propose a getenv_r implementation for glibc in 2007 and even submitted a patch - which was rejected by a certain someone that is pretty famous for not wanting "bsd crap" in glibc.
https://sourceware.org/bugzilla/show_bug.cgi?id=4350