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: Crash in apr_file_close() (Linux)
Date Fri, 16 Oct 2009 15:18:31 GMT
Yuri V. Vishnevskiy wrote:
>> If you close standard output, functions that write to standard output
>> should
>> not succeed - there is nowhere for the information to go.  That is
>> (or, IMO,
>> should be) expected behaviour.
> No doubt. Then how should I to use std* after apr_terminate()?

Once you call apr_terminate(), all bets are off if you use such posix entities
of apr objects.  If apr_terminate() is closing the system-provided stdin/out/err,
that is something we can fix either in 1.x (if it is inconsistent/ill defined)
or 2.0 for certain.

View raw message