On Tue, 2009-03-03 at 21:51 +0100, Stefan Fritsch wrote:

> The problem with the CLOEXEC-patch is that apr_file_dup2() now only 
> checks for APR_INHERIT but not for APR_FILE_NOCLEANUP to determine if 
> FD_CLOEXEC should be set. But APR_FILE_NOCLEANUP should imply 
> APR_INHERIT and the new apr_file_dup2 needs to be changed.

This makes sense to me. In fact, INHERIT macros explicitly depend on
NOCLEANUP flag being unset in order to take action. So, the two
obviously must be related.

-- 
Bojan

Reply via email to