summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2019-07-02 15:58:19 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2019-07-02 15:58:19 +0000
commit6ae440b73cb0efc7be2dd47278294140c67fa59f (patch)
treeab25ac68f06b5426d1d402196046645e2a6e8d8e /CHANGES
parent3f168944d6f5a7a8b2631e8c7fe07047b1344093 (diff)
downloadlibapr-6ae440b73cb0efc7be2dd47278294140c67fa59f.tar.gz
* include/apr_file_info.h: Clarify pool handling for apr_dir_read and
apr_dir_pread. * file_io/win32/dir.c, file_io/os2/dir.c (apr_dir_read): Duplicate the returned filename so the call has no side-effects on apr_finfo_t structures passed to previous invocations of the function. * test/testdir.c (test_read_side_effects): Add test case for side-effects of apr_dir_read. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1862435 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES3
1 files changed, 3 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 9b6655828..0e181364d 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
-*- coding: utf-8 -*-
Changes for APR 2.0.0
+ *) apr_dir_read(): The returned finfo->name field is now duplicated
+ into the pool for all implementations. [Joe Orton]
+
*) apr_dir_pread(): Add function which restricts per-read memory
consumption to a different pool to the apr_dir_t object.
[Joe Orton]