apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46425] Apr should set FD_CLOEXEC if APR_FOPEN_NOCLEANUP is not set
Date Mon, 23 Feb 2009 23:17:01 GMT

--- Comment #23 from Bojan Smojver <bojan@rexursive.com>  2009-02-23 15:16:58 PST ---
Regarding comment #21, I think what Stefan used in his patch is a better

+    flags = fcntl((*new)->socketdes, F_GETFD);
+    if (flags == -1)
+        return errno;

If we do what's suggested in comment #21, setting this flag becomes optional. I
don't think that's the correct behaviour.

PS. I think the above should be used consistently, which is not the case in the
current patch.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message