mboeren Wed Oct 30 10:03:02 2002 EDT
Modified files:
/php4/ext/dbx dbx_fbsql.c dbx_mssql.c dbx_mysql.c dbx_oci8.c
dbx_odbc.c dbx_pgsql.c dbx_sybasect.c
Log:
Coding style.
# not my style :-)
Index: php4/ext/dbx/dbx_fbsql.c
diff -u php4/ext/dbx/dbx_fbsql.c:1.8 php4/ext/dbx/dbx_fbsql.c:1.9
--- php4/ext/dbx/dbx_fbsql.c:1.8 Wed Oct 30 07:02:49 2002
+++ php4/ext/dbx/dbx_fbsql.c Wed Oct 30 10:03:00 2002
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dbx_fbsql.c,v 1.8 2002/10/30 12:02:49 mboeren Exp $ */
+/* $Id: dbx_fbsql.c,v 1.9 2002/10/30 15:03:00 mboeren Exp $ */
#include "dbx.h"
#include "dbx_fbsql.h"
@@ -262,7 +262,7 @@
if (Z_STRLEN_PP(string) == 0) {
ZVAL_EMPTY_STRING(*rv);
return 1;
- }
+ }
tmpstr = estrdup(Z_STRVAL_PP(string));
tmplen = Z_STRLEN_PP(string);
/* php_str_to_str uses a smart_str that allocates memory */
Index: php4/ext/dbx/dbx_mssql.c
diff -u php4/ext/dbx/dbx_mssql.c:1.11 php4/ext/dbx/dbx_mssql.c:1.12
--- php4/ext/dbx/dbx_mssql.c:1.11 Wed Oct 30 07:02:49 2002
+++ php4/ext/dbx/dbx_mssql.c Wed Oct 30 10:03:00 2002
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dbx_mssql.c,v 1.11 2002/10/30 12:02:49 mboeren Exp $ */
+/* $Id: dbx_mssql.c,v 1.12 2002/10/30 15:03:00 mboeren Exp $ */
#include "dbx.h"
#include "dbx_mssql.h"
@@ -261,7 +261,7 @@
if (Z_STRLEN_PP(string) == 0) {
ZVAL_EMPTY_STRING(*rv);
return 1;
- }
+ }
tmpstr = estrdup(Z_STRVAL_PP(string));
tmplen = Z_STRLEN_PP(string);
/* php_str_to_str uses a smart_str that allocates memory */
Index: php4/ext/dbx/dbx_mysql.c
diff -u php4/ext/dbx/dbx_mysql.c:1.16 php4/ext/dbx/dbx_mysql.c:1.17
--- php4/ext/dbx/dbx_mysql.c:1.16 Wed Oct 30 07:02:50 2002
+++ php4/ext/dbx/dbx_mysql.c Wed Oct 30 10:03:00 2002
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dbx_mysql.c,v 1.16 2002/10/30 12:02:50 mboeren Exp $ */
+/* $Id: dbx_mysql.c,v 1.17 2002/10/30 15:03:00 mboeren Exp $ */
#include "dbx.h"
#include "dbx_mysql.h"
@@ -269,7 +269,7 @@
if (Z_STRLEN_PP(string) == 0) {
ZVAL_EMPTY_STRING(*rv);
return 1;
- }
+ }
arguments[0]=string;
arguments[1]=dbx_handle;
dbx_call_any_function(INTERNAL_FUNCTION_PARAM_PASSTHRU,
"mysql_real_escape_string", &returned_zval, number_of_arguments, arguments);
Index: php4/ext/dbx/dbx_oci8.c
diff -u php4/ext/dbx/dbx_oci8.c:1.12 php4/ext/dbx/dbx_oci8.c:1.13
--- php4/ext/dbx/dbx_oci8.c:1.12 Wed Oct 30 09:57:55 2002
+++ php4/ext/dbx/dbx_oci8.c Wed Oct 30 10:03:00 2002
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dbx_oci8.c,v 1.12 2002/10/30 14:57:55 mboeren Exp $ */
+/* $Id: dbx_oci8.c,v 1.13 2002/10/30 15:03:00 mboeren Exp $ */
#include "dbx.h"
#include "dbx_oci8.h"
@@ -280,7 +280,7 @@
if (Z_STRLEN_PP(string) == 0) {
ZVAL_EMPTY_STRING(*rv);
return 1;
- }
+ }
tmpstr = estrdup(Z_STRVAL_PP(string));
tmplen = Z_STRLEN_PP(string);
/* php_str_to_str uses a smart_str that allocates memory */
Index: php4/ext/dbx/dbx_odbc.c
diff -u php4/ext/dbx/dbx_odbc.c:1.18 php4/ext/dbx/dbx_odbc.c:1.19
--- php4/ext/dbx/dbx_odbc.c:1.18 Wed Oct 30 07:02:50 2002
+++ php4/ext/dbx/dbx_odbc.c Wed Oct 30 10:03:00 2002
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dbx_odbc.c,v 1.18 2002/10/30 12:02:50 mboeren Exp $ */
+/* $Id: dbx_odbc.c,v 1.19 2002/10/30 15:03:00 mboeren Exp $ */
#include "dbx.h"
#include "dbx_odbc.h"
@@ -284,7 +284,7 @@
if (Z_STRLEN_PP(string) == 0) {
ZVAL_EMPTY_STRING(*rv);
return 1;
- }
+ }
tmpstr = estrdup(Z_STRVAL_PP(string));
tmplen = Z_STRLEN_PP(string);
/* php_str_to_str uses a smart_str that allocates memory */
Index: php4/ext/dbx/dbx_pgsql.c
diff -u php4/ext/dbx/dbx_pgsql.c:1.19 php4/ext/dbx/dbx_pgsql.c:1.20
--- php4/ext/dbx/dbx_pgsql.c:1.19 Wed Oct 30 07:02:50 2002
+++ php4/ext/dbx/dbx_pgsql.c Wed Oct 30 10:03:00 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dbx_pgsql.c,v 1.19 2002/10/30 12:02:50 mboeren Exp $ */
+/* $Id: dbx_pgsql.c,v 1.20 2002/10/30 15:03:00 mboeren Exp $ */
#include "dbx.h"
#include "php_dbx.h"
@@ -288,7 +288,7 @@
if (Z_STRLEN_PP(string) == 0) {
ZVAL_EMPTY_STRING(*rv);
return 1;
- }
+ }
tmpstr = estrdup(Z_STRVAL_PP(string));
tmplen = Z_STRLEN_PP(string);
/* php_str_to_str uses a smart_str that allocates memory */
Index: php4/ext/dbx/dbx_sybasect.c
diff -u php4/ext/dbx/dbx_sybasect.c:1.5 php4/ext/dbx/dbx_sybasect.c:1.6
--- php4/ext/dbx/dbx_sybasect.c:1.5 Wed Oct 30 07:02:51 2002
+++ php4/ext/dbx/dbx_sybasect.c Wed Oct 30 10:03:01 2002
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dbx_sybasect.c,v 1.5 2002/10/30 12:02:51 mboeren Exp $ */
+/* $Id: dbx_sybasect.c,v 1.6 2002/10/30 15:03:01 mboeren Exp $ */
#include "dbx.h"
#include "dbx_sybasect.h"
@@ -286,7 +286,7 @@
if (Z_STRLEN_PP(string) == 0) {
ZVAL_EMPTY_STRING(*rv);
return 1;
- }
+ }
tmpstr = estrdup(Z_STRVAL_PP(string));
tmplen = Z_STRLEN_PP(string);
/* php_str_to_str uses a smart_str that allocates memory */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php