apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: cvs commit: apr/threadproc/unix proc.c
Date Sat, 26 Jan 2002 20:38:45 GMT
jerenkrantz@apache.org writes:

> jerenkrantz    02/01/24 18:21:43
> 
>   Modified:    threadproc/unix proc.c
>   Log:
>   Fix leakage with fds with respect to pipes.  dup2() should close the old
>   file descriptor and this new one will be closed when we clean up the pipe.

This seems to be what got rid of the recently-introduced leaking with
mod_cgid and I don't see the long-standing "close(-1)" calls either.

Thanks!
-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message