summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rw-r--r--file_io/unix/tempdir.c5
-rw-r--r--include/apr_file_io.h5
3 files changed, 6 insertions, 7 deletions
diff --git a/CHANGES b/CHANGES
index 88107d4ad..e0fbcd2f3 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
-*- coding: utf-8 -*-
Changes for APR 1.4.0
+ *) Fix documentation for apr_temp_dir_get().
+ PR 46303 [Carlo Marcelo Arenas Belon <carenas sajinet.com.pe>]
+
*) Add AC_MSG_RESULT after AC_MSG_CHECKING.
PR 46427 [Rainer Jung <rainer.jung kippdata.de>]
diff --git a/file_io/unix/tempdir.c b/file_io/unix/tempdir.c
index 1138e2c90..659e0bf49 100644
--- a/file_io/unix/tempdir.c
+++ b/file_io/unix/tempdir.c
@@ -48,9 +48,8 @@ APR_DECLARE(apr_status_t) apr_temp_dir_get(const char **temp_dir,
int i;
/* Our goal is to find a temporary directory suitable for writing
- into. We'll only pay the price once if we're successful -- we
- cache our successful find. Here's the order in which we'll try
- various paths:
+ into.
+ Here's the order in which we'll try various paths:
$TMP
$TEMP
diff --git a/include/apr_file_io.h b/include/apr_file_io.h
index 5d9f2c7dd..d1dd3620a 100644
--- a/include/apr_file_io.h
+++ b/include/apr_file_io.h
@@ -916,10 +916,7 @@ APR_DECLARE(apr_status_t) apr_file_mktemp(apr_file_t **fp, char *templ,
* @param p The pool to use for any necessary allocations.
* @remark
* This function uses an algorithm to search for a directory that an
- * an application can use for temporary storage. Once such a
- * directory is found, that location is cached by the library. Thus,
- * callers only pay the cost of this algorithm once if that one time
- * is successful.
+ * an application can use for temporary storage.
*
*/
APR_DECLARE(apr_status_t) apr_temp_dir_get(const char **temp_dir,