apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r564526 - /apr/apr-util/trunk/dbd/apr_dbd.c
Date Fri, 10 Aug 2007 09:27:08 GMT
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;
     }



Mime
View raw message