diff options
author | Christopher Jones <christopher.jones@oracle.com> | 2018-09-24 09:37:46 +1000 |
---|---|---|
committer | Christopher Jones <christopher.jones@oracle.com> | 2018-09-24 09:37:46 +1000 |
commit | eceb34073b28f74f1ea6e659bea296664563189f (patch) | |
tree | ac340f69dcfdd19838f177e25daab6ce94f5e73b /ext/oci8 | |
parent | 9cbe1283f70699b82ca4225705d40fcc73633dfb (diff) | |
download | php-git-eceb34073b28f74f1ea6e659bea296664563189f.tar.gz |
Remove trailing whitespace to help keep branches in sycn
Diffstat (limited to 'ext/oci8')
-rw-r--r-- | ext/oci8/LICENSE | 26 | ||||
-rw-r--r-- | ext/oci8/config.m4 | 14 | ||||
-rw-r--r-- | ext/oci8/oci8_failover.c | 4 | ||||
-rw-r--r-- | ext/oci8/oci8_interface.c | 2 | ||||
-rw-r--r-- | ext/oci8/oci8_lob.c | 2 | ||||
-rw-r--r-- | ext/oci8/oci8_statement.c | 2 | ||||
-rw-r--r-- | ext/oci8/package.xml | 20 | ||||
-rw-r--r-- | ext/oci8/php_oci8_int.h | 18 |
8 files changed, 44 insertions, 44 deletions
diff --git a/ext/oci8/LICENSE b/ext/oci8/LICENSE index 49c344f093..5a3770885f 100644 --- a/ext/oci8/LICENSE +++ b/ext/oci8/LICENSE @@ -1,7 +1,7 @@ --------------------------------------------------------------------- +-------------------------------------------------------------------- The PHP License, version 3.01 Copyright (c) 1999 - 2018 The PHP Group. All rights reserved. --------------------------------------------------------------------- +-------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without modification, is permitted provided that the following conditions @@ -9,22 +9,22 @@ are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - + 3. The name "PHP" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact group@php.net. - + 4. Products derived from this software may not be called "PHP", nor may "PHP" appear in their name, without prior written permission from group@php.net. You may indicate that your software works in conjunction with PHP by saying "Foo for PHP" instead of calling it "PHP Foo" or "phpfoo" - + 5. The PHP Group may publish revised and/or new versions of the license from time to time. Each version will be given a distinguishing version number. @@ -41,27 +41,27 @@ are met: "This product includes PHP software, freely available from <http://www.php.net/software/>". -THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND +THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP -DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --------------------------------------------------------------------- +-------------------------------------------------------------------- This software consists of voluntary contributions made by many individuals on behalf of the PHP Group. The PHP Group can be contacted via Email at group@php.net. -For more information on the PHP Group and the PHP project, +For more information on the PHP Group and the PHP project, please see <http://www.php.net>. PHP includes the Zend Engine, freely available at diff --git a/ext/oci8/config.m4 b/ext/oci8/config.m4 index efcc09b5de..b554a4ac9d 100644 --- a/ext/oci8/config.m4 +++ b/ext/oci8/config.m4 @@ -66,8 +66,8 @@ AC_DEFUN([AC_OCI8_ORACLE_VERSION],[ OCI8_ORACLE_VERSION=8.1 elif test -f $OCI8_LCS_BASE.1.0; then OCI8_ORACLE_VERSION=8.0 - elif test -f $OCI8_DIR/$OCI8_LIB_DIR/libclntsh.a; then - if test -f $OCI8_DIR/$OCI8_LIB_DIR/libcore4.a; then + elif test -f $OCI8_DIR/$OCI8_LIB_DIR/libclntsh.a; then + if test -f $OCI8_DIR/$OCI8_LIB_DIR/libcore4.a; then OCI8_ORACLE_VERSION=8.0 else OCI8_ORACLE_VERSION=8.1 @@ -86,7 +86,7 @@ dnl support DTrace for extensions. Creating OCI8_INIT_DTRACE dnl independently instead of using a refactored PHP_INIT_DTRACE allows dnl OCI8 to be DTraced on versions of PHP where core PHP DTrace support dnl isn't available. -dnl +dnl AC_DEFUN([OCI8_INIT_DTRACE],[ ac_srcdir=[]PHP_EXT_SRCDIR([oci8])/ ac_bdir=[]PHP_EXT_BUILDDIR([oci8])/ @@ -173,7 +173,7 @@ PHP_ARG_WITH(oci8, for Oracle Database OCI8 support, Use --with-oci8=instantclient,/path/to/instant/client/lib to use an Oracle Instant Client installation]) -if test "$PHP_OCI8" != "no"; then +if test "$PHP_OCI8" != "no"; then if test -z "$PHP_OCI8"; then dnl --with-oci8=$ORACLE_HOME where ORACLE_HOME isn't set (or is mistyped) will match this case @@ -211,12 +211,12 @@ if test "$PHP_OCI8" != "no"; then fi dnl Check whether --enable-dtrace was set. - dnl To use DTrace with a PECL install, extract the OCI8 archive, phpize it, and set + dnl To use DTrace with a PECL install, extract the OCI8 archive, phpize it, and set dnl PHP_DTRACE=yes before running configure AC_MSG_CHECKING([OCI8 DTrace support]) oci8_do_dtrace="`echo $PHP_OCI8 | cut -d, -f3`" if test "$PHP_DTRACE" = "yes" -o "$oci8_do_dtrace" = "dtrace" ; then - AC_MSG_RESULT([yes]) + AC_MSG_RESULT([yes]) if test "$ext_shared" = "no"; then AC_MSG_ERROR([For DTrace support OCI8 must be configured as a shared extension]) else @@ -242,7 +242,7 @@ if test "$PHP_OCI8" != "no"; then AC_MSG_CHECKING([checking if we're on a 64-bit platform]) if test "$ac_cv_sizeof_long_int" = "4"; then AC_MSG_RESULT([no]) - PHP_OCI8_OH_LIBDIR=lib32 + PHP_OCI8_OH_LIBDIR=lib32 PHP_OCI8_IC_LIBDIR_SUFFIX="" else AC_MSG_RESULT([yes]) diff --git a/ext/oci8/oci8_failover.c b/ext/oci8/oci8_failover.c index 68a46bc4db..106945ece7 100644 --- a/ext/oci8/oci8_failover.c +++ b/ext/oci8/oci8_failover.c @@ -40,7 +40,7 @@ #include "php_oci8.h" #include "php_oci8_int.h" -/* {{{ callback_fn() +/* {{{ callback_fn() OCI TAF callback function, calling userspace function */ sb4 callback_fn(void *svchp, void *envhp, void *fo_ctx, ub4 fo_type, ub4 fo_event) { @@ -106,7 +106,7 @@ int php_oci_register_taf_callback(php_oci_connection *connection, zval *callback if (!callback) { /* Unregister callback */ if (Z_ISUNDEF(connection->taf_callback) || Z_ISNULL(connection->taf_callback)) { - return 0; // Nothing to unregister + return 0; // Nothing to unregister } registered = 1; diff --git a/ext/oci8/oci8_interface.c b/ext/oci8/oci8_interface.c index d7ae82d69c..c420514421 100644 --- a/ext/oci8/oci8_interface.c +++ b/ext/oci8/oci8_interface.c @@ -56,7 +56,7 @@ PHP_FUNCTION(oci_register_taf_callback) } if (callback) { -#if PHP_MAJOR_VERSION > 7 || (PHP_MAJOR_VERSION == 7 && PHP_MINOR_VERSION >= 2) +#if PHP_MAJOR_VERSION > 7 || (PHP_MAJOR_VERSION == 7 && PHP_MINOR_VERSION >= 2) if (!zend_is_callable(callback, 0, 0)) { callback_name = zend_get_callable_name(callback); php_error_docref(NULL, E_WARNING, "function '%s' is not callable", ZSTR_VAL(callback_name)); diff --git a/ext/oci8/oci8_lob.c b/ext/oci8/oci8_lob.c index 3b87397659..3dce6d1cd3 100644 --- a/ext/oci8/oci8_lob.c +++ b/ext/oci8/oci8_lob.c @@ -203,7 +203,7 @@ sb4 php_oci_lob_callback (dvoid *ctxp, CONST dvoid *bufxp, oraub8 len, ub1 piece } /* }}} */ -/* {{{ php_oci_lob_calculate_buffer() +/* {{{ php_oci_lob_calculate_buffer() Work out the size for LOB buffering */ static inline int php_oci_lob_calculate_buffer(php_oci_descriptor *descriptor, zend_long read_length) { diff --git a/ext/oci8/oci8_statement.c b/ext/oci8/oci8_statement.c index 95cf67c491..97aa51b077 100644 --- a/ext/oci8/oci8_statement.c +++ b/ext/oci8/oci8_statement.c @@ -1260,7 +1260,7 @@ int php_oci_bind_by_name(php_oci_statement *statement, char *name, size_t name_l zend_string_release(zvtmp); } - /* Make sure the minimum of value_sz is 1 to avoid ORA-3149 + /* Make sure the minimum of value_sz is 1 to avoid ORA-3149 * when both in/out parameters are bound with empty strings */ if (value_sz == 0) diff --git a/ext/oci8/package.xml b/ext/oci8/package.xml index 45e6eb5b17..07a56800bb 100644 --- a/ext/oci8/package.xml +++ b/ext/oci8/package.xml @@ -508,7 +508,7 @@ Fixed bug #74625 (Integer overflow in oci_bind_array_by_name). (Ingmar Runge) </notes> </release> -<release> +<release> <version> <release>2.1.5</release> <api>2.1.5</api> @@ -520,9 +520,9 @@ Fixed bug #74625 (Integer overflow in oci_bind_array_by_name). (Ingmar Runge) <license uri="http://www.php.net/license">PHP</license> <notes> This version is for PHP 7 only. -Added TAF callback support (PR #2459, KoenigsKind) +Added TAF callback support (PR #2459, KoenigsKind) </notes> -</release> +</release> <release> <version> @@ -555,7 +555,7 @@ This version is for PHP 7 only. Fixed bug #71148 (Bind reference overwritten on PHP 7) </notes> </release> - + <release> <version> <release>2.1.2</release> @@ -588,7 +588,7 @@ This version is for PHP 7 only. Fixed bug #71600 (oci_fetch_all segfaults when selecting more than 8 columns) </notes> </release> - + <release> <version> <release>2.1.0</release> @@ -601,7 +601,7 @@ Fixed bug #71600 (oci_fetch_all segfaults when selecting more than 8 columns) <license uri="http://www.php.net/license">PHP</license> <notes> This version is for PHP 7 only. -Updated driver name format. +Updated driver name format. </notes> </release> @@ -661,7 +661,7 @@ Enhancement - Improve performance of multi-row OCI_RETURN_LOB queries (Bug #6687 </stability> <license uri="http://www.php.net/license">PHP</license> <notes> -Added oci_bind_by_name() support for PL/SQL BOOLEAN type +Added oci_bind_by_name() support for PL/SQL BOOLEAN type Build change: Fix source variable definition for C89 compatibility </notes> </release> @@ -763,7 +763,7 @@ Add the connection handle to several DTrace probes. <api>devel</api> </stability> <license uri="http://www.php.net/license">PHP</license> - <notes> + <notes> Fixed --enable-maintainer-zts mode. Allow Implicit Result Set statement resources to inherit the parent's current prefetch count. Allow OCI8 to be DTrace-enabled independently from core PHP. @@ -781,7 +781,7 @@ Require OCI8 to be configured 'shared' when enabling DTrace support. <api>devel</api> </stability> <license uri="http://www.php.net/license">PHP</license> - <notes> + <notes> - NEW FUNCTIONALITY: - Added Implicit Result Set support for Oracle Database 12c. @@ -844,7 +844,7 @@ Require OCI8 to be configured 'shared' when enabling DTrace support. - Regularized code prototypes and fixed some in-line documentation prototypes. - - Fixed code folding. + - Fixed code folding. </notes> </release> diff --git a/ext/oci8/php_oci8_int.h b/ext/oci8/php_oci8_int.h index 54ad1c0981..90448d36ea 100644 --- a/ext/oci8/php_oci8_int.h +++ b/ext/oci8/php_oci8_int.h @@ -98,7 +98,7 @@ extern zend_class_entry *oci_coll_class_entry_ptr; #define PHP_OCI_ERRBUF_LEN OCI_ERROR_MAXMSG_SIZE2 #else #define PHP_OCI_ERRBUF_LEN OCI_ERROR_MAXMSG_SIZE -#endif +#endif /* The mode parameter for oci_connect() is overloaded and accepts both * privilege and external authentication flags OR'd together. @@ -136,7 +136,7 @@ typedef struct { /* }}} */ /* {{{ php_oci_connection */ -typedef struct { +typedef struct { zend_resource *id; /* resource ID */ OCIEnv *env; /* private env handle */ ub2 charset; /* charset ID */ @@ -170,7 +170,7 @@ typedef struct { /* }}} */ /* {{{ php_oci_descriptor */ -typedef struct { +typedef struct { zend_resource *id; zend_ulong index; /* descriptors hash table index */ php_oci_connection *connection; /* parent connection handle */ @@ -187,7 +187,7 @@ typedef struct { /* }}} */ /* {{{ php_oci_lob_ctx */ -typedef struct { +typedef struct { char **lob_data; /* address of pointer to LOB data */ ub4 *lob_len; /* address of LOB length variable (bytes) */ ub4 alloc_len; @@ -195,7 +195,7 @@ typedef struct { /* }}} */ /* {{{ php_oci_collection */ -typedef struct { +typedef struct { zend_resource *id; php_oci_connection *connection; /* parent connection handle */ OCIType *tdo; /* collection's type handle */ @@ -208,7 +208,7 @@ typedef struct { /* }}} */ /* {{{ php_oci_define */ -typedef struct { +typedef struct { zval val; /* zval used in define */ text *name; /* placeholder's name */ ub4 name_len; /* placeholder's name length */ @@ -217,7 +217,7 @@ typedef struct { /* }}} */ /* {{{ php_oci_statement */ -typedef struct { +typedef struct { zend_resource *id; zend_resource *parent_stmtid; /* parent statement id */ struct php_oci_statement *impres_child_stmt;/* child of current Implicit Result Set statement handle */ @@ -242,7 +242,7 @@ typedef struct { /* }}} */ /* {{{ php_oci_bind */ -typedef struct { +typedef struct { OCIBind *bind; /* bind handle */ zval val; /* value */ dvoid *descriptor; /* used for binding of LOBS etc */ @@ -265,7 +265,7 @@ typedef struct { /* }}} */ /* {{{ php_oci_out_column */ -typedef struct { +typedef struct { php_oci_statement *statement; /* statement handle. used when fetching REFCURSORS */ php_oci_statement *nested_statement; /* statement handle. used when fetching REFCURSORS */ OCIDefine *oci_define; /* define handle */ |