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 don't think this is necessary.  The changes to global variables and
functions calls should not effect the main process.  Before we make
any change it should be clear it's necessary.  Using vfork has its
advantages.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


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