apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r731795 - in /apr/apr/branches/1.3.x: CHANGES file_io/unix/tempdir.c include/apr_file_io.h
Date Tue, 06 Jan 2009 00:39:18 GMT
Author: bojan
Date: Mon Jan  5 16:39:18 2009
New Revision: 731795

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

Modified:
    apr/apr/branches/1.3.x/CHANGES
    apr/apr/branches/1.3.x/file_io/unix/tempdir.c
    apr/apr/branches/1.3.x/include/apr_file_io.h

Modified: apr/apr/branches/1.3.x/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/CHANGES?rev=731795&r1=731794&r2=731795&view=diff
==============================================================================
--- apr/apr/branches/1.3.x/CHANGES [utf-8] (original)
+++ apr/apr/branches/1.3.x/CHANGES [utf-8] Mon Jan  5 16:39:18 2009
@@ -1,6 +1,9 @@
                                                      -*- coding: utf-8 -*-
 Changes for APR 1.3.4
 
+  *) 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>]
 

Modified: apr/apr/branches/1.3.x/file_io/unix/tempdir.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/file_io/unix/tempdir.c?rev=731795&r1=731794&r2=731795&view=diff
==============================================================================
--- apr/apr/branches/1.3.x/file_io/unix/tempdir.c (original)
+++ apr/apr/branches/1.3.x/file_io/unix/tempdir.c Mon Jan  5 16:39:18 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/branches/1.3.x/include/apr_file_io.h
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/include/apr_file_io.h?rev=731795&r1=731794&r2=731795&view=diff
==============================================================================
--- apr/apr/branches/1.3.x/include/apr_file_io.h (original)
+++ apr/apr/branches/1.3.x/include/apr_file_io.h Mon Jan  5 16:39:18 2009
@@ -907,10 +907,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