This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: popen/pclose problem in Linux 2.2.x with vfork/glibc 2.1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]