Dave Korn writes: > Perhaps we could work around this case by setting environ in the parent > before the vfork call and restoring it afterward, but we'd need kind of > serialisation there, and I don't know how to do a critical section using > pthreads/posix.
A simple solution would be to call fork() instead of vfork() when changing
the environment.
Ross Ridge
