Commit:    bc748ba38ce93025178a0f9de6c444f5cd25ad1d
Author:    Christopher Jones <s...@php.net>         Wed, 6 Nov 2013 10:37:22 
-0800
Parents:   c9d00a23ae5e34bd03dd71f53b5be8b412ad4302
Branches:  PHP-5.6 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=bc748ba38ce93025178a0f9de6c444f5cd25ad1d

Log:
OCI8 build change: Fix source variable definition for C89 compatibility

Changed paths:
  M  ext/oci8/oci8.c
  M  ext/oci8/package.xml
  M  ext/oci8/php_oci8.h


Diff:
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c
index f8abacf..1e505f1 100644
--- a/ext/oci8/oci8.c
+++ b/ext/oci8/oci8.c
@@ -2201,6 +2201,9 @@ php_oci_connection *php_oci_do_connect_ex(char *username, 
int username_len, char
 static int php_oci_connection_ping(php_oci_connection *connection TSRMLS_DC)
 {
        sword errstatus;
+#if (!((OCI_MAJOR_VERSION > 10) || ((OCI_MAJOR_VERSION == 10) && 
(OCI_MINOR_VERSION >= 2))))
+       char version[256];
+#endif
 
        OCI_G(errcode) = 0;             /* assume ping is successful */
 
@@ -2212,7 +2215,6 @@ static int php_oci_connection_ping(php_oci_connection 
*connection TSRMLS_DC)
 #if ((OCI_MAJOR_VERSION > 10) || ((OCI_MAJOR_VERSION == 10) && 
(OCI_MINOR_VERSION >= 2)))      /* OCIPing available 10.2 onwards */
        PHP_OCI_CALL_RETURN(errstatus, OCIPing, (connection->svc, OCI_G(err), 
OCI_DEFAULT));
 #else
-       char version[256];
        /* use good old OCIServerVersion() */
        PHP_OCI_CALL_RETURN(errstatus, OCIServerVersion, (connection->svc, 
OCI_G(err), (text *)version, sizeof(version), OCI_HTYPE_SVCCTX));
 #endif
diff --git a/ext/oci8/package.xml b/ext/oci8/package.xml
index 7be825b..8e55b9a 100644
--- a/ext/oci8/package.xml
+++ b/ext/oci8/package.xml
@@ -49,8 +49,8 @@ libraries are available.
  <time>12:00:00</time>
 
   <version>
-   <release>2.0.6</release>
-   <api>2.0.6</api>
+   <release>2.0.7</release>
+   <api>2.0.7</api>
   </version>
   <stability>
    <release>stable</release>
@@ -58,8 +58,7 @@ libraries are available.
   </stability>
   <license uri="http://www.php.net/license";>PHP</license>
   <notes>
-Added a LICENSE file to make it easier for PECL binary distributions
-to conform with the license.
+    Build change: Fix source variable definition for C89 compatibility
   </notes>
  <contents>
   <dir name="/">
@@ -460,6 +459,22 @@ to conform with the license.
 
 <release>
  <version>
+  <release>2.0.6</release>
+  <api>2.0.6</api>
+ </version>
+ <stability>
+  <release>stable</release>
+  <api>stable</api>
+ </stability>
+ <license uri="http://www.php.net/license";>PHP</license>
+ <notes>
+Added a LICENSE file to make it easier for PECL binary distributions
+to conform with the license.
+ </notes>
+</release>
+
+<release>
+ <version>
   <release>2.0.5</release>
   <api>2.0.5</api>
  </version>
diff --git a/ext/oci8/php_oci8.h b/ext/oci8/php_oci8.h
index 7510415..86c5abf 100644
--- a/ext/oci8/php_oci8.h
+++ b/ext/oci8/php_oci8.h
@@ -45,7 +45,7 @@
  */
 #undef PHP_OCI8_VERSION
 #endif
-#define PHP_OCI8_VERSION "2.0.6"
+#define PHP_OCI8_VERSION "2.0.7-dev"
 
 extern zend_module_entry oci8_module_entry;
 #define phpext_oci8_ptr &oci8_module_entry


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to