Re: cvs: php4 /ext/yaz php_yaz.c

From: Date: Sun, 14 Oct 2001 01:48:25 +0000
Subject: Re: cvs: php4 /ext/yaz php_yaz.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7800@lists.php.net to get a copy of this message
Like sterling said, the extensions in PHP CVS should work with the PHP CVS itself. So you should actually revert the whole patch. --Jani On Sat, 13 Oct 2001, Adam Dickmeiss wrote: >dickmeiss Sat Oct 13 18:35:10 2001 EDT > > Modified files: > /php4/ext/yaz php_yaz.c > Log: > Fixed thread-safe compile. Thanks to Jani Taskinen. > > >Index: php4/ext/yaz/php_yaz.c >diff -u php4/ext/yaz/php_yaz.c:1.33 php4/ext/yaz/php_yaz.c:1.34 >--- php4/ext/yaz/php_yaz.c:1.33 Sat Oct 13 03:38:31 2001 >+++ php4/ext/yaz/php_yaz.c Sat Oct 13 18:35:10 2001 >@@ -16,7 +16,7 @@ > +----------------------------------------------------------------------+ > */ > >-/* $Id: php_yaz.c,v 1.33 2001/10/13 07:38:31 dickmeiss Exp $ */ >+/* $Id: php_yaz.c,v 1.34 2001/10/13 22:35:10 dickmeiss Exp $ */ > > #ifdef HAVE_CONFIG_H > #include "config.h" >@@ -2609,7 +2609,11 @@ > } > } > >-static void yaz_close_link (zend_rsrc_list_entry *rsrc) >+static void yaz_close_link (zend_rsrc_list_entry *rsrc >+#ifdef TSRMLS_DC >+ TSRMLS_DC >+#endif >+) > { > Yaz_Association *as = (Yaz_Association *) rsrc->ptr; > yaz_close_session (as); >@@ -2679,7 +2683,7 @@ > > zend_module_entry yaz_module_entry = { > #if ZEND_MODULE_API_NO >= 20010901 >- STANDARD_MODULE_HEADER, >+ STANDARD_MODULE_HEADER, > #endif > "yaz", > yaz_functions, >@@ -2689,7 +2693,7 @@ > PHP_RSHUTDOWN(yaz), > PHP_MINFO(yaz), > #if ZEND_MODULE_API_NO >= 20010901 >- NO_VERSION_YET, >+ NO_VERSION_YET, > #endif > STANDARD_MODULE_PROPERTIES > }; > > > >

« previous php.cvs (#7800) next »