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 41119] - apr_pool_cleanup_for_exec must discard I/O buffers
Date Wed, 18 Apr 2007 13:32:16 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41119>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41119





------- Additional Comments From jorton@redhat.com  2007-04-18 06:32 -------
The comment dates back to Apache 1.3 where cleanups for FILE * were handled
exactly as stated (and as expected by this reporter).

The APR file implementation has simply never implemented this guarantee -
whether  by intent or not, I don't know.  Changing it should be as simple as
registering a different child_cleanup in apr_file_open() - a cleanup which
doesn't call flush like apr_unix_file_cleanup().

I've avoided touching this since I think it's vaguely conceivable that an
application could rely on the current behaviour, and it would kind of be an
interface break.  You can get into a philosophical debate here about whether API
is defined by random comments in headers or by actual implementation behaviour.

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

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


Mime
View raw message