3 ms·
Because it doesn't actually solve anything: You're still replacing whatever getenv returned from under the nose the program code - if that happens in another th
by account42 2y ago
Because it doesn't actually solve anything: You're still replacing whatever getenv returned from under the nose the program code - if that happens in another thread or in a signal handler in the same thread doesn't make any difference.
And that's before you even get to the `extern char *environ` global.