PHP 4.0 Bug #2381: ext/dav.c references pre-zend function calls.
| From: | gjh at bel-epa dot com | Date: | Sat, 25 Sep 1999 10:58:02 +0000 |
| Subject: | PHP 4.0 Bug #2381: ext/dav.c references pre-zend function calls. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11283@lists.php.net to get a copy of this message | ||
From: gjh@bel-epa.com
Operating system: Linux 2.2 x86
PHP version: 4.0 Beta 2
PHP Bug Type: Compile Failure
Bug description: ext/dav.c references pre-zend function calls.
*** dav.c.cvs Sat Sep 25 11:50:10 1999
--- dav.c Sat Sep 25 11:52:34 1999
***************
*** 205,210 ****
--- 211,226 ----
/* }}} */
/* {{{ dav_call_handler() */
+
+ /* Yea veriy sayeth the coder of the XML extension ... */
+
+ /* XXXXX this is AN UGLY HACK - we'll need to do a cleanup here!!! */
+
+ #if PHP_API_VERSION >= 19990421
+ #define php3tls_pval_destructor(a) zval_dtor(a)
+ #endif
+
+
static int
dav_call_handler(char *funcName, int argc, pval **argv)
{