xolox/lua-apr — Issue #7: Some patch for support APR 1.2.7, some platform has old apr.
Author: zhaozg
Created: 2011-11-01 02:05:35+00:00
State: open

497d496
< #ifdef APR_DBD_TRANSACTION_COMMIT
499,502d497
< #else
< const char *params;
< #endif
<
518d512
< #ifdef APR_DBD_TRANSACTION_COMMIT
526,535d519
< #else
< status = apr_dbd_open(driver->driver, driver->pool, params,
< &driver->handle);
< if (status != APR_SUCCESS) {
< char buf[APR_PATH_MAX];
< lua_pushnil(L);
< lua_pushstring(L, apr_strerror(status,buf,APR_PATH_MAX));
< return 2;
< }
< #endif
694c678
< #ifdef APR_DBD_TRANSACTION_COMMIT
---
>
723c707
< #endif
---
>
1113d1096
< #ifdef APR_DBD_TRANSACTION_COMMIT
1115d1097
< #endif
diff -r lua-apr/src/errno.c xolox-lua-apr-18d2148/src/errno.c
87d86
< #ifdef APR_EAFNOSUPPORT
89d87
< #endif
diff -r lua-apr/src/ldap.c xolox-lua-apr-18d2148/src/ldap.c
184d183
< #ifdef APR_LDAP_OPT_REFHOPLIMIT
186,187d184
< #endif
< #ifdef APR_LDAP_OPT_REFERRALS
189d185
< #endif
diff -r lua-apr/src/lua_apr.h xolox-lua-apr-18d2148/src/lua_apr.h
98,101d97
< #ifndef APR_SIZE_MAX
< #define APR_SIZE_MAX SIZE_MAX
< #endif
<