On Tuesday 03 March 2009, Bojan Smojver wrote: > 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. > > Did you mean like this?
Yes (with "old_file->flags" instead of "flag").
