News for hackers. Stuff that matters.
Re:Don't setenv in multi-threaded code on glibc by masklinn on Tuesday January 31, 2017 @01:45PM (#13533793)
Isn't the issue here that setenv breaks getenv rather than setenv "not being thread-safe"?
Re:Don't setenv in multi-threaded code on glibc by quotemstr on Tuesday January 31, 2017 @02:44PM (#13534478)
The issue is that getenv's API is fundamentally unsafe. setenv is fine.