tony2001 Fri Feb 20 07:47:56 2004 EDT
Modified files:
/php-src/ext/oci8 oci8.c
Log:
this should really fix compile failure with gcc 2.96
http://cvs.php.net/diff.php/php-src/ext/oci8/oci8.c?r1=1.252&r2=1.253&ty=u
Index: php-src/ext/oci8/oci8.c
diff -u php-src/ext/oci8/oci8.c:1.252 php-src/ext/oci8/oci8.c:1.253
--- php-src/ext/oci8/oci8.c:1.252 Thu Feb 19 22:16:51 2004
+++ php-src/ext/oci8/oci8.c Fri Feb 20 07:47:56 2004
@@ -22,7 +22,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oci8.c,v 1.252 2004/02/20 03:16:51 sniper Exp $ */
+/* $Id: oci8.c,v 1.253 2004/02/20 12:47:56 tony2001 Exp $ */
/* TODO list:
*
@@ -786,7 +786,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "OCI8 Support", "enabled");
- php_info_print_table_row(2, "Revision", "$Revision: 1.252 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.253 $");
sprintf(buf, "%ld", num_persistent);
php_info_print_table_row(2, "Active Persistent Links", buf);
@@ -836,9 +836,9 @@
*/
static void _oci_desc_flush_hash_dtor(void *data)
{
+ oci_descriptor *descr = *(oci_descriptor **)data;
TSRMLS_FETCH();
- oci_descriptor *descr = *(oci_descriptor **)data;
if (descr->buffering == 2 && (descr->type == OCI_DTYPE_LOB || descr->type ==
OCI_DTYPE_FILE)) {
oci_lob_flush(descr,OCI_LOB_BUFFER_FREE TSRMLS_CC);
descr->buffering = 1;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php