apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [PATCH] inheriting pipes
Date Thu, 06 Mar 2003 08:05:27 GMT
Yes... I know I already responded, now new questions;

At 04:53 PM 3/5/2003, Bjoern A. Zeeb wrote:
>if it is possible FD_CLOEXEC should really be independed of
>inherit_(un)set. It should be applied to every fd opened by default
>(if available) apart from 012 which seem to already be handled their
>own way. One may have a flag (perhaps also use APR_FILE_NOCLEANUP) to
>supress usage.

As I suggested, CLOEXEC isn't independent.  It is the way *some* platforms
would prefer to implement inherit_[un]set.  Not all, such as TPF, but the vast
majority would have an easier time with it.

>Why ? Because we had seen wrong usage of APR_IMPLEMENT_(UN)INHERIT_SET
>epanded macros at various files in the apache httpd code...

I'm guessing you do not mean wrong usage of the macro
APR_IMPLEMENT_(UN)INHERIT_SET, but rather inaccurate calls
(missing when useful or present when invalid).

In either case your citations would be helpful to the dev@httpd list
so they can start fixing those bugs.


View raw message