apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: Crash in apr_file_close() (Linux)
Date Fri, 16 Oct 2009 08:54:13 GMT
On 16/10/09 10:39, Joe Orton wrote:
> It seems like reasonable behaviour that the second apr_file_close() call
> should fail, though it certainly isn't obvious from reading the docs.
> How else do you expect it to behave?  You cannot close an fd twice.

I suppose it shouldn't crash the apr.
IMO either second call to open should fail or
the call to close should fail, but without actually calling the close().


View raw message