summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorjwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68>2001-10-01 19:12:49 +0000
committerjwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68>2001-10-01 19:12:49 +0000
commitaf9062afa03e155bac86b2ade1127bab861e48a8 (patch)
treec47bfb441a9549a7fc28e65ed415bbb80a82a85d /CHANGES
parent00faf6a4281257b20ae54bbc99d79b08f8672178 (diff)
downloadlibapr-af9062afa03e155bac86b2ade1127bab861e48a8.tar.gz
Even though it's not unusual for temporary files to be unlinked as soon as
they're open on Unix, it makes the use of those files harder in some cases. For example, the filename we were getting back from apr_file_mktemp() was useless because the file had already been unlinked. Now we defer the unlink until the file is actually closed. This also makes the behavior on Unix somewhat more consistent with other platforms. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62390 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES5
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 8f044d304..5f920a31a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,10 @@
Changes with APR b1
+ *) Files opened on Unix with the flag APR_DELONCLOSE are now
+ not unlinked until they are actually closed, rather than as
+ soon as they're opened. The old approach worked but made
+ handling temp files harder. [Cliff Woolley]
+
*) Fix potential segfault when closing a file on Unix. If
apr_file_close() was called and it failed, it would not
deregister the file cleanup. Therefore the cleanup would