From commits-return-11093-apmail-apr-commits-archive=apr.apache.org@apr.apache.org Fri Dec 18 05:03:45 2009 Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 31365 invoked from network); 18 Dec 2009 05:03:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Dec 2009 05:03:45 -0000 Received: (qmail 78426 invoked by uid 500); 18 Dec 2009 05:03:45 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 78353 invoked by uid 500); 18 Dec 2009 05:03:45 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 78344 invoked by uid 99); 18 Dec 2009 05:03:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 05:03:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 05:03:43 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 24ED12388A4A; Fri, 18 Dec 2009 05:03:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r892134 - /apr/apr/trunk/file_io/unix/filepath_util.c Date: Fri, 18 Dec 2009 05:03:21 -0000 To: commits@apr.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091218050322.24ED12388A4A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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;