Re: cvs: php4 /ext/yaz php_yaz.cy
| From: | Adam Dickmeiss | Date: | Sun, 14 Oct 2001 07:22:35 +0000 |
| Subject: | Re: cvs: php4 /ext/yaz php_yaz.cy | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-7805@lists.php.net to get a copy of this message | ||
On Sun, Oct 14, 2001 at 04:48:25AM +0300, Jani Taskinen wrote:
>
> Like sterling said, the extensions in PHP CVS should work
> with the PHP CVS itself.
I'm well aware of that.
> So you should actually revert the > whole patch.
Is it wrong having extensions that work with the previous
"stable" release as well as current?
-- Adam
>
> --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
> > };
> >
> >
> >
> >
--
Adam Dickmeiss mailto:adam@indexdata.dk http://www.indexdata.dk
Index Data T: +45 33410100 Mob.: 212 212 66