diff options
author | Joe Orton <jorton@apache.org> | 2019-07-02 15:58:19 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2019-07-02 15:58:19 +0000 |
commit | 16dec5dc362e0729d0f4853bcb34344998879a6c (patch) | |
tree | ab25ac68f06b5426d1d402196046645e2a6e8d8e /CHANGES | |
parent | 167ba32c4f738bb76874c246b8f6a95fa87cc893 (diff) | |
download | apr-16dec5dc362e0729d0f4853bcb34344998879a6c.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: https://svn.apache.org/repos/asf/apr/apr/trunk@1862435 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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] |