You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2009/12/18 06:03:21 UTC

svn commit: r892134 - /apr/apr/trunk/file_io/unix/filepath_util.c

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;