edink Tue Nov 12 17:59:14 2002 EDT Modified files: /php4/ext/sybase_ct php_sybase_ct.c Log: Fixed ZTS build and removed an unused variable. Index: php4/ext/sybase_ct/php_sybase_ct.c diff -u php4/ext/sybase_ct/php_sybase_ct.c:1.72 php4/ext/sybase_ct/php_sybase_ct.c:1.73 --- php4/ext/sybase_ct/php_sybase_ct.c:1.72 Tue Nov 12 08:13:12 2002 +++ php4/ext/sybase_ct/php_sybase_ct.c Tue Nov 12 17:59:11 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_sybase_ct.c,v 1.72 2002/11/12 13:13:12 thekid Exp $ */ +/* $Id: php_sybase_ct.c,v 1.73 2002/11/12 22:59:11 edink Exp $ */ #ifdef HAVE_CONFIG_H @@ -307,6 +307,7 @@ static void php_sybase_init_globals(zend_sybase_globals *sybase_globals) { long timeout; + TSRMLS_FETCH(); if (cs_ctx_alloc(CTLIB_VERSION, &sybase_globals->context)!=CS_SUCCEED || ct_init(sybase_globals->context, CTLIB_VERSION)!=CS_SUCCEED) { return; @@ -940,6 +941,7 @@ int i; CS_RETCODE retcode; CS_INT restype; + TSRMLS_FETCH(); efree(result->datafmt); efree(result->lengths); @@ -2025,7 +2027,6 @@ PHP_FUNCTION(sybase_set_message_handler) { zval ***params; - zval *retval_ptr; char *name; int argc = ZEND_NUM_ARGS();
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php