popen/pclose problem in Linux 2.2.x with vfork/glibc 2.1
Andreas Schwab
schwab@issan.informatik.uni-dortmund.de
Thu Apr 1 00:00:00 GMT 1999
Andreas Jaeger <aj@arthur.rhein-neckar.de> writes:
|> Thanks for all replies. I do think we have to use fork instead of
|> vfork for popen in glibc since the code changes some globals and calls
|> dup2 and close:
I agree about the globals, but what's wrong with dup2 and close? Only the
memory is shared, not the files.
--
Andreas Schwab "And now for something
schwab@issan.cs.uni-dortmund.de completely different"
schwab@gnu.org
More information about the Libc-alpha
mailing list