Return-Path: X-Original-To: apmail-apr-commits-archive@www.apache.org Delivered-To: apmail-apr-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1095710F29 for ; Wed, 12 Feb 2014 19:23:13 +0000 (UTC) Received: (qmail 92979 invoked by uid 500); 12 Feb 2014 19:23:12 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 92891 invoked by uid 500); 12 Feb 2014 19:23:11 -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 92880 invoked by uid 99); 12 Feb 2014 19:23:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Feb 2014 19:23:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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; Wed, 12 Feb 2014 19:23:09 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 468FC238899C; Wed, 12 Feb 2014 19:22:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1567726 - in /apr/apr/branches/1.5.x/file_io: unix/mktemp.c win32/open.c win32/pipe.c Date: Wed, 12 Feb 2014 19:22:48 -0000 To: commits@apr.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140212192248.468FC238899C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: wrowe Date: Wed Feb 12 19:22:47 2014 New Revision: 1567726 URL: http://svn.apache.org/r1567726 Log: Correct nonsense test for non-exported sys/stat.h autoconf flag Partial backport of: r1567722 Modified: apr/apr/branches/1.5.x/file_io/unix/mktemp.c apr/apr/branches/1.5.x/file_io/win32/open.c apr/apr/branches/1.5.x/file_io/win32/pipe.c Modified: apr/apr/branches/1.5.x/file_io/unix/mktemp.c URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/file_io/unix/mktemp.c?rev=1567726&r1=1567725&r2=1567726&view=diff ============================================================================== --- apr/apr/branches/1.5.x/file_io/unix/mktemp.c (original) +++ apr/apr/branches/1.5.x/file_io/unix/mktemp.c Wed Feb 12 19:22:47 2014 @@ -74,7 +74,7 @@ #if APR_HAVE_SYS_TYPES_H #include #endif -#if APR_HAVE_SYS_STAT_H +#ifdef HAVE_SYS_STAT_H #include #endif #if APR_HAVE_FCNTL_H Modified: apr/apr/branches/1.5.x/file_io/win32/open.c URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/file_io/win32/open.c?rev=1567726&r1=1567725&r2=1567726&view=diff ============================================================================== --- apr/apr/branches/1.5.x/file_io/win32/open.c (original) +++ apr/apr/branches/1.5.x/file_io/win32/open.c Wed Feb 12 19:22:47 2014 @@ -26,7 +26,7 @@ #endif #include #include -#if APR_HAVE_SYS_STAT_H +#ifdef HAVE_SYS_STAT_H #include #endif #include "apr_arch_misc.h" Modified: apr/apr/branches/1.5.x/file_io/win32/pipe.c URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/file_io/win32/pipe.c?rev=1567726&r1=1567725&r2=1567726&view=diff ============================================================================== --- apr/apr/branches/1.5.x/file_io/win32/pipe.c (original) +++ apr/apr/branches/1.5.x/file_io/win32/pipe.c Wed Feb 12 19:22:47 2014 @@ -26,7 +26,7 @@ #if APR_HAVE_SYS_TYPES_H #include #endif -#if APR_HAVE_SYS_STAT_H +#ifdef HAVE_SYS_STAT_H #include #endif #if APR_HAVE_PROCESS_H