/ext/oci8/oci8.c win32 bugfix.

From: Date: Mon, 09 Apr 2001 07:51:48 +0000
Subject: /ext/oci8/oci8.c win32 bugfix.
Groups: php.dev 
Request: Send a blank email to php-dev+get-51172@lists.php.net to get a copy of this message
If someone would apply this patch to ext/oci8/oci8.c I think the Oracle using Win32 community would be greatful. Don't know if all threaded environments have a problem with OCI8's behaviour in threaded mode. PHP on win32 really doesn't like it... I haven't been able to get it to crash with this modification. W/out this modification I haven't been able to keep it from crashing. This change only affects builds on Win32, making OCI8 behave like it does on traditional Unix. If possible, please include in the next RC or final release of 4.0.6 Thanks, joebrown podiatryfl.com --- php4/ext/oci8/oci8.c Fri Mar 02 04:45:08 2001 +++ php4/ext/oci8/oci8.c Mon Apr 09 03:33:10 2001 @@ -342,7 +342,7 @@ { zend_class_entry oci_lob_class_entry; -#ifdef ZTS +#if ZTS && !WIN32 #define PHP_OCI_INIT_MODE OCI_THREADED #else #define PHP_OCI_INIT_MODE OCI_DEFAULT

« previous php.dev (#51172) next »