From commits-return-8526-apmail-apr-commits-archive=apr.apache.org@apr.apache.org Fri Aug 10 09:27:32 2007 Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 6694 invoked from network); 10 Aug 2007 09:27:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Aug 2007 09:27:29 -0000 Received: (qmail 95995 invoked by uid 500); 10 Aug 2007 09:27:28 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 95957 invoked by uid 500); 10 Aug 2007 09:27:27 -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 95946 invoked by uid 99); 10 Aug 2007 09:27:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2007 02:27:27 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2007 09:27:28 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 582D01A981A; Fri, 10 Aug 2007 02:27:08 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r564526 - /apr/apr-util/trunk/dbd/apr_dbd.c Date: Fri, 10 Aug 2007 09:27:08 -0000 To: commits@apr.apache.org From: jorton@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070810092708.582D01A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jorton Date: Fri Aug 10 02:27:07 2007 New Revision: 564526 URL: http://svn.apache.org/viewvc?view=rev&rev=564526 Log: * dbd/apr_dbd.c (apr_dbd_open): Recent glibc defines open() as a macro (as permitted by POSIX); prevent expansion of such here. Modified: apr/apr-util/trunk/dbd/apr_dbd.c Modified: apr/apr-util/trunk/dbd/apr_dbd.c URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/dbd/apr_dbd.c?view=diff&rev=564526&r1=564525&r2=564526 ============================================================================== --- apr/apr-util/trunk/dbd/apr_dbd.c (original) +++ apr/apr-util/trunk/dbd/apr_dbd.c Fri Aug 10 02:27:07 2007 @@ -188,7 +188,7 @@ apr_dbd_t **handle) { apr_status_t rv; - *handle = driver->open(pool, params); + *handle = (driver->open)(pool, params); if (*handle == NULL) { return APR_EGENERAL; }