felipe          Mon Sep  8 01:33:08 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/pgsql  pgsql.c 
    /php-src/ext/standard       streamsfuncs.c 
  Log:
  - Fixed some wrong format parameters
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pgsql/pgsql.c?r1=1.331.2.13.2.24.2.12&r2=1.331.2.13.2.24.2.13&diff_format=u
Index: php-src/ext/pgsql/pgsql.c
diff -u php-src/ext/pgsql/pgsql.c:1.331.2.13.2.24.2.12 
php-src/ext/pgsql/pgsql.c:1.331.2.13.2.24.2.13
--- php-src/ext/pgsql/pgsql.c:1.331.2.13.2.24.2.12      Sun Aug  3 12:15:47 2008
+++ php-src/ext/pgsql/pgsql.c   Mon Sep  8 01:33:07 2008
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
  */
  
-/* $Id: pgsql.c,v 1.331.2.13.2.24.2.12 2008/08/03 12:15:47 jani Exp $ */
+/* $Id: pgsql.c,v 1.331.2.13.2.24.2.13 2008/09/08 01:33:07 felipe Exp $ */
 
 #include <stdlib.h>
 
@@ -2223,7 +2223,7 @@
        char *table_name;
        zend_rsrc_list_entry *field_table;
 
-       if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|b!", &result, 
&fnum, &return_oid) == FAILURE) {
+       if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|b", &result, 
&fnum, &return_oid) == FAILURE) {
                return;
        }
 
@@ -3951,7 +3951,7 @@
        ExecStatusType status;
        int argc = ZEND_NUM_ARGS();
 
-       if (zend_parse_parameters(argc TSRMLS_CC, "rs/a|ss",
+       if (zend_parse_parameters(argc TSRMLS_CC, "rsa|ss",
                                                          &pgsql_link, 
&table_name, &table_name_len, &pg_rows,
                                                          &pg_delim, 
&pg_delim_len, &pg_null_as, &pg_null_as_len) == FAILURE) {
                return;
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/streamsfuncs.c?r1=1.58.2.6.2.15.2.20&r2=1.58.2.6.2.15.2.21&diff_format=u
Index: php-src/ext/standard/streamsfuncs.c
diff -u php-src/ext/standard/streamsfuncs.c:1.58.2.6.2.15.2.20 
php-src/ext/standard/streamsfuncs.c:1.58.2.6.2.15.2.21
--- php-src/ext/standard/streamsfuncs.c:1.58.2.6.2.15.2.20      Sat Aug 16 
10:57:56 2008
+++ php-src/ext/standard/streamsfuncs.c Mon Sep  8 01:33:08 2008
@@ -17,7 +17,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: streamsfuncs.c,v 1.58.2.6.2.15.2.20 2008/08/16 10:57:56 bjori Exp $ */
+/* $Id: streamsfuncs.c,v 1.58.2.6.2.15.2.21 2008/09/08 01:33:08 felipe Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -94,7 +94,7 @@
 
        RETVAL_FALSE;
        
-       if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|zzd!lr", &host, 
&host_len, &zerrno, &zerrstr, &timeout, &flags, &zcontext) == FAILURE) {
+       if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|zzdlr", &host, 
&host_len, &zerrno, &zerrstr, &timeout, &flags, &zcontext) == FAILURE) {
                RETURN_FALSE;
        }
        



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

Reply via email to