apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r731793 - in /apr/apr/trunk: file_io/unix/tempdir.c include/apr_file_io.h
Date Tue, 06 Jan 2009 00:36:01 GMT
Author: bojan
Date: Mon Jan  5 16:36:01 2009
New Revision: 731793

URL: http://svn.apache.org/viewvc?rev=731793&view=rev
Log:
Fix documentation for apr_temp_dir_get().
PR 46303.
Patch by Carlo Marcelo Arenas Belon <carenas sajinet.com.pe>.

Modified:
    apr/apr/trunk/file_io/unix/tempdir.c
    apr/apr/trunk/include/apr_file_io.h

Modified: apr/apr/trunk/file_io/unix/tempdir.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/file_io/unix/tempdir.c?rev=731793&r1=731792&r2=731793&view=diff
==============================================================================
--- apr/apr/trunk/file_io/unix/tempdir.c (original)
+++ apr/apr/trunk/file_io/unix/tempdir.c Mon Jan  5 16:36:01 2009
@@ -48,9 +48,8 @@
     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

Modified: apr/apr/trunk/include/apr_file_io.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_file_io.h?rev=731793&r1=731792&r2=731793&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_file_io.h (original)
+++ apr/apr/trunk/include/apr_file_io.h Mon Jan  5 16:36:01 2009
@@ -916,10 +916,7 @@
  * @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, 



Mime
View raw message