cvs: php4(PHP_4_2_0) /ext/oci8 oci8.c

From: Date: Sat, 13 Apr 2002 18:59:39 +0000
Subject: cvs: php4(PHP_4_2_0) /ext/oci8 oci8.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11118@lists.php.net to get a copy of this message
thies Sat Apr 13 14:59:39 2002 EDT Modified files: (Branch: PHP_4_2_0) /php4/ext/oci8 oci8.c Log: MFH: ocibind: avoid warning in debug mode Index: php4/ext/oci8/oci8.c diff -u php4/ext/oci8/oci8.c:1.169.2.1 php4/ext/oci8/oci8.c:1.169.2.2 --- php4/ext/oci8/oci8.c:1.169.2.1 Sat Apr 13 08:14:02 2002 +++ php4/ext/oci8/oci8.c Sat Apr 13 14:59:38 2002 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: oci8.c,v 1.169.2.1 2002/04/13 12:14:02 thies Exp $ */ +/* $Id: oci8.c,v 1.169.2.2 2002/04/13 18:59:38 thies Exp $ */ /* TODO list: * @@ -631,7 +631,7 @@ php_info_print_table_start(); php_info_print_table_row(2, "OCI8 Support", "enabled"); - php_info_print_table_row(2, "Revision", "$Revision: 1.169.2.1 $"); + php_info_print_table_row(2, "Revision", "$Revision: 1.169.2.2 $"); #ifndef PHP_WIN32 php_info_print_table_row(2, "Oracle Version", PHP_OCI8_VERSION ); php_info_print_table_row(2, "Compile-time ORACLE_HOME", PHP_OCI8_DIR ); @@ -697,6 +697,7 @@ if (bind->indicator == -1) { /* NULL */ zval *val = bind->zval; + *Z_STRVAL_P(val) = '\0'; /* XXX avoid warning in debug mode */ zval_dtor(val); ZVAL_NULL(val); } else if (Z_TYPE_P(bind->zval) == IS_STRING && (Z_STRVAL_P(bind->zval) != empty_string)) {

« previous php.cvs (#11118) next »