You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bo...@apache.org on 2009/01/06 01:37:36 UTC

svn commit: r731794 - in /apr/apr/branches/1.4.x: CHANGES file_io/unix/tempdir.c include/apr_file_io.h

Author: bojan
Date: Mon Jan  5 16:37:35 2009
New Revision: 731794

URL: http://svn.apache.org/viewvc?rev=731794&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.4.x/CHANGES
    apr/apr/branches/1.4.x/file_io/unix/tempdir.c
    apr/apr/branches/1.4.x/include/apr_file_io.h

Modified: apr/apr/branches/1.4.x/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/CHANGES?rev=731794&r1=731793&r2=731794&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/CHANGES [utf-8] (original)
+++ apr/apr/branches/1.4.x/CHANGES [utf-8] Mon Jan  5 16:37:35 2009
@@ -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>]
 

Modified: apr/apr/branches/1.4.x/file_io/unix/tempdir.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/file_io/unix/tempdir.c?rev=731794&r1=731793&r2=731794&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/file_io/unix/tempdir.c (original)
+++ apr/apr/branches/1.4.x/file_io/unix/tempdir.c Mon Jan  5 16:37:35 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.4.x/include/apr_file_io.h
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/include/apr_file_io.h?rev=731794&r1=731793&r2=731794&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/include/apr_file_io.h (original)
+++ apr/apr/branches/1.4.x/include/apr_file_io.h Mon Jan  5 16:37:35 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,