httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <bri...@kheldar.apana.org.au>
Subject Re: APR file_io and memory allocation
Date Fri, 09 Apr 1999 18:34:41 GMT
On Fri, 9 Apr 1999 08:00:20 -0400 (EDT), Ryan Bloom wrote:

>Yep, you are correct.  I meant to put that code in, and well silly me, I
>forgot.  I get it in there today.

Ok, while we're fixing things, wouldn't it be a good idea to dup() the file
handle and strdup() the fname in apr_dupfile() ? That way apr_close()ing the
duplicated handle won't mess up the original.

--
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------


Mime
View raw message