apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r892134 - /apr/apr/trunk/file_io/unix/filepath_util.c
Date Fri, 18 Dec 2009 05:03:21 GMT
Author: wrowe
Date: Fri Dec 18 05:03:21 2009
New Revision: 892134

URL: http://svn.apache.org/viewvc?rev=892134&view=rev
Log:
Catch filepath_util.c flaws, unix build works again

Modified:
    apr/apr/trunk/file_io/unix/filepath_util.c

Modified: apr/apr/trunk/file_io/unix/filepath_util.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/file_io/unix/filepath_util.c?rev=892134&r1=892133&r2=892134&view=diff
==============================================================================
--- apr/apr/trunk/file_io/unix/filepath_util.c (original)
+++ apr/apr/trunk/file_io/unix/filepath_util.c Fri Dec 18 05:03:21 2009
@@ -18,7 +18,7 @@
 #define APR_WANT_STRFUNC
 #define APR_WANT_MEMFUNC
 #include "apr_want.h"
-
+#include "apr_file_info.h"
 #include "apr_errno.h"
 #include "apr_pools.h"
 #include "apr_strings.h"
@@ -54,7 +54,7 @@
 
     /* Split the path into the array. */
     elts = apr_array_make(p, nelts, sizeof(char*));
-    while ((part = apr_strtok(path, PATH_SEPARATOR_STR, &ptr)) != NULL)
+    while ((part = apr_strtok(path, PATH_SEPARATOR_STRING, &ptr)) != NULL)
     {
         if (*part == '\0')      /* Ignore empty path components. */
             continue;



Mime
View raw message