apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject Re: file_setaside()
Date Tue, 26 Jun 2001 15:58:51 GMT
On Tue, 26 Jun 2001, Justin Erenkrantz wrote:

> What about the case where the original apr_file_t is cleaned up
> (i.e. closed) before we are done with the "new" apr_file_t?  (This is
> the whole purpose of setaside, right?)  Won't that cause a problem
> since the original descriptor has now been closed in kernel space?
> We'll have ourselves a nice invalid file descriptor.  Or, am I
> wrong?  -- justin

Oh crap, duh.  You're 100% right.  I now see the error of my ways.  =-)

   Cliff Woolley
   Charlottesville, VA

View raw message