[PHP-CVS-DAILY] cvs: php-src / ChangeLog

2009-03-24 Thread changelog
changelog   Wed Mar 25 01:32:50 2009 UTC

  Modified files:  
/php-srcChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/viewvc.cgi/php-src/ChangeLog?r1=1.3353r2=1.3354diff_format=u
Index: php-src/ChangeLog
diff -u php-src/ChangeLog:1.3353 php-src/ChangeLog:1.3354
--- php-src/ChangeLog:1.3353Tue Mar 24 01:32:44 2009
+++ php-src/ChangeLog   Wed Mar 25 01:32:49 2009
@@ -1,3 +1,81 @@
+2009-03-24  Ilia Alshanetsky  i...@prohost.org
+
+* (PHP_5_3)
+  EXTENSIONS:
+  
+  Updated PDO maintainers
+
+2009-03-24  Pierre-Alain Joye  pierre@gmail.com
+
+* win32/build/mkdist.php:
+  - MFB: new php.ini names
+
+* (PHP_5_3)
+  win32/build/mkdist.php:
+  - new php.ini names
+
+2009-03-24  Felipe Pena  felipe...@gmail.com
+
+* ext/pdo/pdo_stmt.c
+  ext/pdo_mysql/tests/bug44327.phpt
+  ext/pdo_mysql/tests/pdo_mysql_stmt_errorinfo.phpt
+  ext/pdo_mysql/tests/pdo_mysql_stmt_multiquery.phpt:
+  - Synced pieces of codes
+  - Fixed tests
+
+2009-03-24  Dmitry Stogov  dmi...@zend.com
+
+* ZendEngine2/zend_API.c
+  ZendEngine2/zend_API.c
+  ZendEngine2/zend_API.c:
+  Fixed double efree()
+
+* ZendEngine2/zend_hash.h
+  ZendEngine2/zend_hash.h:
+  Fixed -0 parsing and optimized overflow check (Matt)
+
+2009-03-24  Felipe Pena  felipe...@gmail.com
+
+* (PHP_5_3)
+  ext/pdo_mysql/tests/pdo_mysql_stmt_multiquery.phpt:
+  - Fix test
+
+2009-03-24  Pierre-Alain Joye  pierre@gmail.com
+
+* (PHP_5_3)
+  ext/gd/gd.c:
+  - GEPJ.. (thx to Derick for the head!)
+
+* (PHP_5_3)
+  NEWS:
+  -  #47757 rename JPG to JPEG in phpinfo
+
+* (PHP_5_3)
+  ext/odbc/php_odbc.c:
+  - fix logic after my build fix, thx to Hannes for the head up!
+
+* ext/gd/gd.c:
+  - MFB: #47757 rename JPG to JPEG in phpinfo
+
+* (PHP_5_3)
+  ext/gd/gd.c:
+  - #47757 rename JPG to JPEG in phpinfo
+
+* (PHP_5_3)
+  ext/odbc/php_odbc.c:
+  - fix build
+
+2009-03-24  Scott MacVicar  sc...@macvicar.net
+
+* (PHP_5_3)
+  NEWS:
+  BFN
+
+* (PHP_5_3)
+  ext/zlib/zlib.c:
+  Fix bug #42362 - certain status codes never have output, so sending the
+  gzip compression headers cause problems
+
 2009-03-23  Felipe Pena  felipe...@gmail.com
 
 * ext/pdo/pdo_dbh.c:
@@ -33912,7 +33990,7 @@
 
 * sapi/litespeed/lsapi_main.c
   sapi/litespeed/lsapilib.c:
-  - Added missing $Id: ChangeLog,v 1.3353 2009/03/24 01:32:44 changelog 
Exp $ tags and nuked c++ comments
+  - Added missing $Id: ChangeLog,v 1.3354 2009/03/25 01:32:49 changelog 
Exp $ tags and nuked c++ comments
 
 * (PHP_5_3)
   ext/intl/locale/locale.c




[PHP-CVS-DAILY] cvs: ZendEngine2 / ChangeLog

2009-03-24 Thread changelog
changelog   Wed Mar 25 01:32:55 2009 UTC

  Modified files:  
/ZendEngine2ChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/ChangeLog?r1=1.1460r2=1.1461diff_format=u
Index: ZendEngine2/ChangeLog
diff -u ZendEngine2/ChangeLog:1.1460 ZendEngine2/ChangeLog:1.1461
--- ZendEngine2/ChangeLog:1.1460Sat Mar 21 01:32:48 2009
+++ ZendEngine2/ChangeLog   Wed Mar 25 01:32:55 2009
@@ -1,3 +1,14 @@
+2009-03-24  Dmitry Stogov  dmi...@zend.com
+
+* zend_API.c
+  zend_API.c
+  zend_API.c:
+  Fixed double efree()
+
+* zend_hash.h
+  zend_hash.h:
+  Fixed -0 parsing and optimized overflow check (Matt)
+
 2009-03-20  Dmitry Stogov  dmi...@zend.com
 
 * zend_alloc.c
@@ -28189,7 +28200,7 @@
 2003-06-10  Jani Taskinen  sni...@iki.fi
 
 * zend_multiply.h:
-  - Missing $Id: ChangeLog,v 1.1460 2009/03/21 01:32:48 changelog Exp $ tag
+  - Missing $Id: ChangeLog,v 1.1461 2009/03/25 01:32:55 changelog Exp $ tag
 
 2003-06-10  James Cox  ja...@imajes.info
 
@@ -29913,7 +29924,7 @@
   zend_types.h
   zend_variables.c
   zend_variables.h:
-  - Added some missing CVS $Id: ChangeLog,v 1.1460 2009/03/21 01:32:48 
changelog Exp $ tags, headers and footers.
+  - Added some missing CVS $Id: ChangeLog,v 1.1461 2009/03/25 01:32:55 
changelog Exp $ tags, headers and footers.
 
 2003-01-30  Ilia Alshanetsky  i...@prohost.org
 




Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/zlib zlib.c

2009-03-24 Thread Hannes Magnusson
2009/3/24 Scott MacVicar scott...@php.net:
 scottmac                Tue Mar 24 01:57:54 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/zlib   zlib.c
  Log:
  Fix bug #42362 - certain status codes never have output, so sending the gzip 
 compression headers cause problems



 http://cvs.php.net/viewvc.cgi/php-src/ext/zlib/zlib.c?r1=1.183.2.6.2.5.2.9r2=1.183.2.6.2.5.2.10diff_format=u
 Index: php-src/ext/zlib/zlib.c
 diff -u php-src/ext/zlib/zlib.c:1.183.2.6.2.5.2.9 
 php-src/ext/zlib/zlib.c:1.183.2.6.2.5.2.10
 --- php-src/ext/zlib/zlib.c:1.183.2.6.2.5.2.9   Wed Dec 31 11:15:47 2008
 +++ php-src/ext/zlib/zlib.c     Tue Mar 24 01:57:53 2009
 @@ -19,7 +19,7 @@
    +--+
  */

 -/* $Id: zlib.c,v 1.183.2.6.2.5.2.9 2008/12/31 11:15:47 sebastian Exp $ */
 +/* $Id: zlib.c,v 1.183.2.6.2.5.2.10 2009/03/24 01:57:53 scottmac Exp $ */

  #ifdef HAVE_CONFIG_H
  #include config.h
 @@ -1034,7 +1034,7 @@
  {
        zend_bool do_start, do_end;

 -       if (!ZLIBG(output_compression)) {
 +       if (!ZLIBG(output_compression) || SG(sapi_headers).http_response_code 
 == 204 || SG(sapi_headers).http_response_code == 304) {
                *handled_output = NULL;

What happens with:
?php
header(HTTP/1.1 200 OK);
exit;
?
or ?php
header(Location: http://www.example.com/;);
exit;
?
 ?

This looks more like treating the symptoms rather then fixing the problem..

-Hannes

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



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/odbc php_odbc.c

2009-03-24 Thread Pierre-Alain Joye
pajoye  Tue Mar 24 09:24:35 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/odbc   php_odbc.c 
  Log:
  - fix build
  
http://cvs.php.net/viewvc.cgi/php-src/ext/odbc/php_odbc.c?r1=1.189.2.4.2.7.2.15r2=1.189.2.4.2.7.2.16diff_format=u
Index: php-src/ext/odbc/php_odbc.c
diff -u php-src/ext/odbc/php_odbc.c:1.189.2.4.2.7.2.15 
php-src/ext/odbc/php_odbc.c:1.189.2.4.2.7.2.16
--- php-src/ext/odbc/php_odbc.c:1.189.2.4.2.7.2.15  Mon Mar 23 22:30:56 2009
+++ php-src/ext/odbc/php_odbc.c Tue Mar 24 09:24:35 2009
@@ -20,7 +20,7 @@
+--+
 */
 
-/* $Id: php_odbc.c,v 1.189.2.4.2.7.2.15 2009/03/23 22:30:56 iliaa Exp $ */
+/* $Id: php_odbc.c,v 1.189.2.4.2.7.2.16 2009/03/24 09:24:35 pajoye Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include config.h
@@ -1631,7 +1631,7 @@
SQLUSMALLINT RowStatus[1];
SQLLEN rownum;
zval *pv_res, *tmp;
-   long pv_row - 1;
+   long pv_row = 1;
 
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, r|l, pv_res, 
pv_row) == FAILURE) {
return;



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



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/gd gd.c

2009-03-24 Thread Pierre-Alain Joye
pajoye  Tue Mar 24 09:41:43 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/gd gd.c 
  Log:
  - #47757 rename JPG to JPEG in phpinfo
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/gd.c?r1=1.312.2.20.2.32.2.31r2=1.312.2.20.2.32.2.32diff_format=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.312.2.20.2.32.2.31 
php-src/ext/gd/gd.c:1.312.2.20.2.32.2.32
--- php-src/ext/gd/gd.c:1.312.2.20.2.32.2.31Sat Jan 31 15:27:52 2009
+++ php-src/ext/gd/gd.c Tue Mar 24 09:41:42 2009
@@ -18,7 +18,7 @@
+--+
  */
 
-/* $Id: gd.c,v 1.312.2.20.2.32.2.31 2009/01/31 15:27:52 kalle Exp $ */
+/* $Id: gd.c,v 1.312.2.20.2.32.2.32 2009/03/24 09:41:42 pajoye Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -1295,7 +1295,7 @@
{
char tmp[12];
snprintf(tmp, sizeof(tmp), %d, gdJpegGetVersionInt());
-   php_info_print_table_row(2, JPG Support, enabled);
+   php_info_print_table_row(2, JEPG Support, enabled);
php_info_print_table_row(2, libJPEG Version, tmp);
}
 #endif



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



[PHP-CVS] cvs: php-src /ext/gd gd.c

2009-03-24 Thread Pierre-Alain Joye
pajoye  Tue Mar 24 09:42:49 2009 UTC

  Modified files:  
/php-src/ext/gd gd.c 
  Log:
  - MFB: #47757 rename JPG to JPEG in phpinfo
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/gd.c?r1=1.408r2=1.409diff_format=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.408 php-src/ext/gd/gd.c:1.409
--- php-src/ext/gd/gd.c:1.408   Tue Mar 10 23:39:17 2009
+++ php-src/ext/gd/gd.c Tue Mar 24 09:42:49 2009
@@ -18,7 +18,7 @@
+--+
  */
 
-/* $Id: gd.c,v 1.408 2009/03/10 23:39:17 helly Exp $ */
+/* $Id: gd.c,v 1.409 2009/03/24 09:42:49 pajoye Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -1294,9 +1294,9 @@
add_ascii_assoc_bool(return_value, GIF Create Support, 0);
 #endif
 #ifdef HAVE_GD_JPG
-   add_ascii_assoc_bool(return_value, JPG Support, 1);
+   add_ascii_assoc_bool(return_value, JPEG Support, 1);
 #else
-   add_ascii_assoc_bool(return_value, JPG Support, 0);
+   add_ascii_assoc_bool(return_value, JPEG Support, 0);
 #endif
 #ifdef HAVE_GD_PNG
add_ascii_assoc_bool(return_value, PNG Support, 1);



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



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/odbc php_odbc.c

2009-03-24 Thread Pierre-Alain Joye
pajoye  Tue Mar 24 09:44:16 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/odbc   php_odbc.c 
  Log:
  - fix logic after my build fix, thx to Hannes for the head up!
  
http://cvs.php.net/viewvc.cgi/php-src/ext/odbc/php_odbc.c?r1=1.189.2.4.2.7.2.16r2=1.189.2.4.2.7.2.17diff_format=u
Index: php-src/ext/odbc/php_odbc.c
diff -u php-src/ext/odbc/php_odbc.c:1.189.2.4.2.7.2.16 
php-src/ext/odbc/php_odbc.c:1.189.2.4.2.7.2.17
--- php-src/ext/odbc/php_odbc.c:1.189.2.4.2.7.2.16  Tue Mar 24 09:24:35 2009
+++ php-src/ext/odbc/php_odbc.c Tue Mar 24 09:44:16 2009
@@ -20,7 +20,7 @@
+--+
 */
 
-/* $Id: php_odbc.c,v 1.189.2.4.2.7.2.16 2009/03/24 09:24:35 pajoye Exp $ */
+/* $Id: php_odbc.c,v 1.189.2.4.2.7.2.17 2009/03/24 09:44:16 pajoye Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include config.h
@@ -1631,7 +1631,7 @@
SQLUSMALLINT RowStatus[1];
SQLLEN rownum;
zval *pv_res, *tmp;
-   long pv_row = 1;
+   long pv_row = -1;
 
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, r|l, pv_res, 
pv_row) == FAILURE) {
return;



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



[PHP-CVS] cvs: php-src(PHP_5_3) / NEWS

2009-03-24 Thread Pierre-Alain Joye
pajoye  Tue Mar 24 09:45:39 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  -  #47757 rename JPG to JPEG in phpinfo
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.530r2=1.2027.2.547.2.965.2.531diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.530 
php-src/NEWS:1.2027.2.547.2.965.2.531
--- php-src/NEWS:1.2027.2.547.2.965.2.530   Tue Mar 24 02:00:34 2009
+++ php-src/NEWSTue Mar 24 09:45:39 2009
@@ -19,6 +19,7 @@
 - Added support for CP850 encoding in mbstring extension.
   (Denis Giffeler, Moriyoshi)
 
+- Fixed bug #47757 (rename JPG to JPEG in phpinfo). (Pierre)
 - Fixed bug #47678 (Allow loadExtension to be disabled in SQLite3). (Scott)
 - Fixed bug #47671 (Cloning SplObjectStorage instances). (Etienne)
 - Fixed bug #47664 (get_class returns NULL instead of FALSE). (Dmitry)



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



Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/odbc php_odbc.c

2009-03-24 Thread Ilia Alshanetsky

Bah silly typo, looks like pierre already fixed it.


Ilia Alshanetsky




On 23-Mar-09, at 9:04 PM, Matt Wilmas wrote:


Hi Ilia,

- Original Message -
From: Ilia Alshanetsky
Sent: Monday, March 23, 2009


iliaa Mon Mar 23 22:30:56 2009 UTC

Modified files:  (Branch: PHP_5_3)
  /php-src/ext/odbc php_odbc.c
Log:

Improved parameter handling

http://cvs.php.net/viewvc.cgi/php-src/ext/odbc/php_odbc.c?r1=1.189.2.4.2.7.2.14r2=1.189.2.4.2.7.2.15diff_format=u
Index: php-src/ext/odbc/php_odbc.c
diff -u php-src/ext/odbc/php_odbc.c:1.189.2.4.2.7.2.14 php-src/ext/ 
odbc/php_odbc.c:1.189.2.4.2.7.2.15
--- php-src/ext/odbc/php_odbc.c:1.189.2.4.2.7.2.14 Tue Feb 17  
12:38:21 2009

+++ php-src/ext/odbc/php_odbc.c Mon Mar 23 22:30:56 2009
@@ -20,7 +20,7 @@
+ 
--+

*/

-/* $Id: php_odbc.c,v 1.189.2.4.2.7.2.14 2009/02/17 12:38:21 felipe  
Exp $ */
+/* $Id: php_odbc.c,v 1.189.2.4.2.7.2.15 2009/03/23 22:30:56 iliaa  
Exp $ */


#ifdef HAVE_CONFIG_H
#include config.h
@@ -1629,17 +1629,15 @@
#ifdef HAVE_SQL_EXTENDED_FETCH
SQLULEN crow;
SQLUSMALLINT RowStatus[1];
- SQLLEN rownum = -1;
+ SQLLEN rownum;
zval *pv_res, *tmp;
- long pv_row;
+ long pv_row - 1;


That last line doesn't look right. :-)

- Matt

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




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



Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/zlib zlib.c

2009-03-24 Thread Scott MacVicar
Hannes Magnusson wrote:
 2009/3/24 Scott MacVicar scott...@php.net:
 scottmacTue Mar 24 01:57:54 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/zlib   zlib.c
  Log:
  Fix bug #42362 - certain status codes never have output, so sending the 
 gzip compression headers cause problems



 http://cvs.php.net/viewvc.cgi/php-src/ext/zlib/zlib.c?r1=1.183.2.6.2.5.2.9r2=1.183.2.6.2.5.2.10diff_format=u
 Index: php-src/ext/zlib/zlib.c
 diff -u php-src/ext/zlib/zlib.c:1.183.2.6.2.5.2.9 
 php-src/ext/zlib/zlib.c:1.183.2.6.2.5.2.10
 --- php-src/ext/zlib/zlib.c:1.183.2.6.2.5.2.9   Wed Dec 31 11:15:47 2008
 +++ php-src/ext/zlib/zlib.c Tue Mar 24 01:57:53 2009
 @@ -19,7 +19,7 @@
+--+
  */

 -/* $Id: zlib.c,v 1.183.2.6.2.5.2.9 2008/12/31 11:15:47 sebastian Exp $ */
 +/* $Id: zlib.c,v 1.183.2.6.2.5.2.10 2009/03/24 01:57:53 scottmac Exp $ */

  #ifdef HAVE_CONFIG_H
  #include config.h
 @@ -1034,7 +1034,7 @@
  {
zend_bool do_start, do_end;

 -   if (!ZLIBG(output_compression)) {
 +   if (!ZLIBG(output_compression) || 
 SG(sapi_headers).http_response_code == 204 || 
 SG(sapi_headers).http_response_code == 304) {
*handled_output = NULL;
 
 What happens with:
 ?php
 header(HTTP/1.1 200 OK);
 exit;
 ?
 or ?php
 header(Location: http://www.example.com/;);
 exit;
 ?
  ?
 
 This looks more like treating the symptoms rather then fixing the problem..
 
 -Hannes

204 and 304 can *never* have a body sent with them, its fine for all the
other status codes to have empty compessed output.

There is no simple fix for this because a flush() can occur with zero
output, this doesn't mean avoid gzipping. It's just nothing has been
sent to that point.

This is probably fixed in HEAD with the new output stuff though.

Scott

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



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/gd gd.c

2009-03-24 Thread Pierre-Alain Joye
pajoye  Tue Mar 24 12:48:52 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/gd gd.c 
  Log:
  - GEPJ.. (thx to Derick for the head!)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/gd.c?r1=1.312.2.20.2.32.2.32r2=1.312.2.20.2.32.2.33diff_format=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.312.2.20.2.32.2.32 
php-src/ext/gd/gd.c:1.312.2.20.2.32.2.33
--- php-src/ext/gd/gd.c:1.312.2.20.2.32.2.32Tue Mar 24 09:41:42 2009
+++ php-src/ext/gd/gd.c Tue Mar 24 12:48:52 2009
@@ -18,7 +18,7 @@
+--+
  */
 
-/* $Id: gd.c,v 1.312.2.20.2.32.2.32 2009/03/24 09:41:42 pajoye Exp $ */
+/* $Id: gd.c,v 1.312.2.20.2.32.2.33 2009/03/24 12:48:52 pajoye Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -1295,7 +1295,7 @@
{
char tmp[12];
snprintf(tmp, sizeof(tmp), %d, gdJpegGetVersionInt());
-   php_info_print_table_row(2, JEPG Support, enabled);
+   php_info_print_table_row(2, JPEG Support, enabled);
php_info_print_table_row(2, libJPEG Version, tmp);
}
 #endif



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



Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/gd gd.c

2009-03-24 Thread Pierre Joye
2009/3/24 Pierre-Alain Joye paj...@php.net:

  - GEPJ.. (thx to Derick for the head!)

+up and sigh.

-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org

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



[PHP-CVS] cvs: php-src /ext/pdo pdo_stmt.c /ext/pdo_mysql/tests bug44327.phpt pdo_mysql_stmt_errorinfo.phpt pdo_mysql_stmt_multiquery.phpt

2009-03-24 Thread Felipe Pena
felipe  Tue Mar 24 19:32:07 2009 UTC

  Modified files:  
/php-src/ext/pdopdo_stmt.c 
/php-src/ext/pdo_mysql/testsbug44327.phpt 
pdo_mysql_stmt_errorinfo.phpt 
pdo_mysql_stmt_multiquery.phpt 
  Log:
  - Synced pieces of codes
  - Fixed tests
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/pdo_stmt.c?r1=1.217r2=1.218diff_format=u
Index: php-src/ext/pdo/pdo_stmt.c
diff -u php-src/ext/pdo/pdo_stmt.c:1.217 php-src/ext/pdo/pdo_stmt.c:1.218
--- php-src/ext/pdo/pdo_stmt.c:1.217Mon Mar 23 23:02:06 2009
+++ php-src/ext/pdo/pdo_stmt.c  Tue Mar 24 19:32:06 2009
@@ -18,7 +18,7 @@
   +--+
 */
 
-/* $Id: pdo_stmt.c,v 1.217 2009/03/23 23:02:06 felipe Exp $ */
+/* $Id: pdo_stmt.c,v 1.218 2009/03/24 19:32:06 felipe Exp $ */
 
 /* The PDO Statement Handle Class */
 
@@ -2650,6 +2650,7 @@
}
}
if (strcmp(Z_STRVAL_P(member), queryString) == 0) {
+   zval_ptr_dtor(return_value);
return std_object_handlers.read_property(object, 
member, IS_STRING TSRMLS_CC);
}
}
@@ -2694,28 +2695,18 @@
 
 static HashTable *row_get_properties(zval *object TSRMLS_DC)
 {
-   zval *tmp;
pdo_stmt_t * stmt = (pdo_stmt_t *) zend_object_store_get_object(object 
TSRMLS_CC);
int i;
-   HashTable *ht;
-
-   MAKE_STD_ZVAL(tmp);
-   array_init(tmp);
 
for (i = 0; i  stmt-column_count; i++) {
zval *val;
MAKE_STD_ZVAL(val);
fetch_value(stmt, val, i, NULL TSRMLS_CC);
 
-   add_assoc_zval(tmp, stmt-columns[i].name, val);
+   zend_hash_update(stmt-properties, stmt-columns[i].name, 
stmt-columns[i].namelen + 1, (void *)val, sizeof(zval *), NULL);
}
 
-   ht = Z_ARRVAL_P(tmp);
-
-   ZVAL_NULL(tmp);
-   FREE_ZVAL(tmp);
-
-   return ht;
+   return stmt-properties;
 }
 
 static union _zend_function *row_method_get(
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/tests/bug44327.phpt?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/pdo_mysql/tests/bug44327.phpt
diff -u php-src/ext/pdo_mysql/tests/bug44327.phpt:1.1 
php-src/ext/pdo_mysql/tests/bug44327.phpt:1.2
--- php-src/ext/pdo_mysql/tests/bug44327.phpt:1.1   Mon Nov  3 15:31:51 2008
+++ php-src/ext/pdo_mysql/tests/bug44327.phpt   Tue Mar 24 19:32:06 2009
@@ -42,22 +42,22 @@
 ?
 --EXPECTF--
 object(PDORow)#%d (2) {
-  [queryString]=
-  string(17) SELECT 1 AS one
-  [one]=
+  [uqueryString]=
+  unicode(17) SELECT 1 AS one
+  [uone]=
   string(1) 1
 }
-string(1) 1
-string(1) 1
-string(17) SELECT 1 AS one
+unicode(1) 1
+unicode(1) 1
+unicode(17) SELECT 1 AS one
 --
 object(PDORow)#%d (2) {
-  [queryString]=
-  string(19) SELECT id FROM test
-  [id]=
-  string(1) 1
+  [uqueryString]=
+  unicode(19) SELECT id FROM test
+  [uid]=
+  unicode(1) 1
 }
-string(19) SELECT id FROM test
+unicode(19) SELECT id FROM test
 --
 
 Notice: Trying to get property of non-object in %s on line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_errorinfo.phpt?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_errorinfo.phpt
diff -u php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_errorinfo.phpt:1.1 
php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_errorinfo.phpt:1.2
--- php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_errorinfo.phpt:1.1   Mon Jul 
21 13:05:51 2008
+++ php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_errorinfo.phpt   Tue Mar 24 
19:32:06 2009
@@ -61,9 +61,13 @@
 ?
 --EXPECTF--
 Testing emulated PS...
-array(1) {
+array(3) {
   [0]=
   string(0) 
+  [1]=
+  NULL
+  [2]=
+  NULL
 }
 
 Warning: PDOStatement::execute(): SQLSTATE[42S02]: Base table or view not 
found: 1146 Table '%s.ihopeitdoesnotexist' doesn't exist in %s on line %d
@@ -86,17 +90,25 @@
   [2]=
   string(%d) Table '%s.test' doesn't exist
 }
-array(1) {
+array(3) {
   [0]=
   string(5) 0
+  [1]=
+  NULL
+  [2]=
+  NULL
 }
 Testing native PS...
 
 Warning: PDO::prepare(): SQLSTATE[42S02]: Base table or view not found: 1146 
Table '%s.ihopeitdoesnotexist' doesn't exist in %s on line %d
 bool(false)
-array(1) {
+array(3) {
   [0]=
   string(0) 
+  [1]=
+  NULL
+  [2]=
+  NULL
 }
 
 Warning: PDOStatement::execute(): SQLSTATE[42S02]: Base table or view not 
found: 1146 Table '%s.test' doesn't exist in %s on line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_multiquery.phpt?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_multiquery.phpt
diff -u php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_multiquery.phpt:1.1 
php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_multiquery.phpt:1.2
--- php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_multiquery.phpt:1.1  Mon Jul 
21 13:05:51 

[PHP-CVS] cvs: win-installer / GenPHPInstaller.wxs.php

2009-03-24 Thread Pierre-Alain Joye
pajoye  Tue Mar 24 22:13:00 2009 UTC

  Modified files:  
/win-installer  GenPHPInstaller.wxs.php 
  Log:
  - new php.ini names
  
http://cvs.php.net/viewvc.cgi/win-installer/GenPHPInstaller.wxs.php?r1=1.11r2=1.12diff_format=u
Index: win-installer/GenPHPInstaller.wxs.php
diff -u win-installer/GenPHPInstaller.wxs.php:1.11 
win-installer/GenPHPInstaller.wxs.php:1.12
--- win-installer/GenPHPInstaller.wxs.php:1.11  Sun Dec 21 03:43:07 2008
+++ win-installer/GenPHPInstaller.wxs.php   Tue Mar 24 22:13:00 2009
@@ -43,11 +43,11 @@
 
 $PHPInstallerBaseWXS-save(PHPInstaller$version.wxs);
 
-// remove extension info from php.ini-recommended
-$infile = fopen(Files/php.ini-recommended,'r');
+// remove extension info from php.ini-production
+$infile = fopen(Files/php.ini-production,'r');
 $outfile = fopen(Files/php.ini,'w');
 if (!$outfile || !$infile) {
-   echo Cannot open php.ini or php.ini-recommended\n;
+   echo Cannot open php.ini or php.ini-production\n;
exit(1);
 }
 while (!feof($infile)) {



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



[PHP-CVS] cvs: php-src(PHP_5_3) /win32/build mkdist.php

2009-03-24 Thread Pierre-Alain Joye
pajoye  Tue Mar 24 22:15:46 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/win32/buildmkdist.php 
  Log:
  - new php.ini names
  
http://cvs.php.net/viewvc.cgi/php-src/win32/build/mkdist.php?r1=1.13.4.1.2.7r2=1.13.4.1.2.8diff_format=u
Index: php-src/win32/build/mkdist.php
diff -u php-src/win32/build/mkdist.php:1.13.4.1.2.7 
php-src/win32/build/mkdist.php:1.13.4.1.2.8
--- php-src/win32/build/mkdist.php:1.13.4.1.2.7 Sat Dec 13 11:46:23 2008
+++ php-src/win32/build/mkdist.php  Tue Mar 24 22:15:46 2009
@@ -1,4 +1,4 @@
-?php # $Id: mkdist.php,v 1.13.4.1.2.7 2008/12/13 11:46:23 pajoye Exp $
+?php # $Id: mkdist.php,v 1.13.4.1.2.8 2009/03/24 22:15:46 pajoye Exp $
 /* piece together a windows binary distro */
 
 $build_dir = $argv[1];
@@ -220,8 +220,8 @@
 $text_files = array(
LICENSE =license.txt,
NEWS =   news.txt,
-   php.ini-dist =   php.ini-dist,
-   php.ini-recommended = php.ini-recommended,
+   php.ini-development =php.ini-development,
+   php.ini-production = php.ini-production,
win32/install.txt =  install.txt,
win32/pws-php5cgi.reg = pws-php5cgi.reg,
win32/pws-php5isapi.reg = pws-php5isapi.reg,



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



[PHP-CVS] cvs: php-src /win32/build mkdist.php

2009-03-24 Thread Pierre-Alain Joye
pajoye  Tue Mar 24 22:16:57 2009 UTC

  Modified files:  
/php-src/win32/buildmkdist.php 
  Log:
  - MFB: new php.ini names
  
http://cvs.php.net/viewvc.cgi/php-src/win32/build/mkdist.php?r1=1.20r2=1.21diff_format=u
Index: php-src/win32/build/mkdist.php
diff -u php-src/win32/build/mkdist.php:1.20 php-src/win32/build/mkdist.php:1.21
--- php-src/win32/build/mkdist.php:1.20 Sat Dec 13 11:59:34 2008
+++ php-src/win32/build/mkdist.php  Tue Mar 24 22:16:57 2009
@@ -1,4 +1,4 @@
-?php # $Id: mkdist.php,v 1.20 2008/12/13 11:59:34 pajoye Exp $
+?php # $Id: mkdist.php,v 1.21 2009/03/24 22:16:57 pajoye Exp $
 /* piece together a windows binary distro */
 
 $build_dir = $argv[1];
@@ -220,8 +220,8 @@
 $text_files = array(
LICENSE =license.txt,
NEWS =   news.txt,
-   php.ini-dist =   php.ini-dist,
-   php.ini-recommended = php.ini-recommended,
+   php.ini-development =php.ini-development,
+   php.ini-production = php.ini-production,
win32/install.txt =  install.txt,
win32/pws-php5cgi.reg = pws-php5cgi.reg,
win32/pws-php5isapi.reg = pws-php5isapi.reg,



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



[PHP-CVS] cvs: php-src(PHP_5_3) / EXTENSIONS

2009-03-24 Thread Ilia Alshanetsky
iliaa   Tue Mar 24 23:57:30 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcEXTENSIONS 
  Log:
  
  Updated PDO maintainers
  
http://cvs.php.net/viewvc.cgi/php-src/EXTENSIONS?r1=1.72.2.4.2.4.2.13r2=1.72.2.4.2.4.2.14diff_format=u
Index: php-src/EXTENSIONS
diff -u php-src/EXTENSIONS:1.72.2.4.2.4.2.13 
php-src/EXTENSIONS:1.72.2.4.2.4.2.14
--- php-src/EXTENSIONS:1.72.2.4.2.4.2.13Thu Mar 19 22:44:55 2009
+++ php-src/EXTENSIONS  Tue Mar 24 23:57:30 2009
@@ -169,7 +169,7 @@
 COMMENT: Working 
 ---
 EXTENSION:   pdo
-PRIMARY MAINTAINER:  Unknown
+PRIMARY MAINTAINER:  Wez Furlong w...@php.net, Ilia Alshanetsky 
il...@php.net
 MAINTENANCE: Odd fixes
 STATUS:  Working
 SINCE:   5.1



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



[PHP-CVS] cvs: php-src /ext/oci8/tests bind_long.phpt test.txt

2009-03-24 Thread Christopher Jones
sixdWed Mar 25 01:57:23 2009 UTC

  Modified files:  
/php-src/ext/oci8/tests test.txt bind_long.phpt 
  Log:
  use random text
  
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/tests/test.txt?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/oci8/tests/test.txt
diff -u php-src/ext/oci8/tests/test.txt:1.1 php-src/ext/oci8/tests/test.txt:1.2
--- php-src/ext/oci8/tests/test.txt:1.1 Tue May 30 21:54:17 2006
+++ php-src/ext/oci8/tests/test.txt Wed Mar 25 01:57:22 2009
@@ -1,9 +1,9 @@
-Feel so good, I feel so fine
-Love that little lady always on my mind
-She gives me loving every night and day
-Never gonna leave her, never going away
+Ipsum lorem, IPSUM Lorem Ipsum lorem Ipsum lorem
+Ipsum lorem IPSum Lorem Ipsum lorem ipsum Lorem
+Ipsum Lorem ipsum Lorem - ipsum Lorem ipsum lorem
+Ipsum lorem IPSUM Lorem Ipsum lorem, Ipsum lorem.
 
-Someone to love me
-You know she makes me feel all right, yeah (all right)
-Someone to need me
-Love me every single night, yeah
+Ipsum LOREM, ipsum Lorem Ipsum lorem Ipsum lorem
+Ipsum lorem Ipsum Lorem Ipsum lorem ipsum Lorem
+Ipsum Lorem ipsum Lorem  ipsum Lorem; ipsum lorem
+Ipsum lorem ipsum LOREM Ipsum lorem Ipsum lorem!
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/tests/bind_long.phpt?r1=1.6r2=1.7diff_format=u
Index: php-src/ext/oci8/tests/bind_long.phpt
diff -u php-src/ext/oci8/tests/bind_long.phpt:1.6 
php-src/ext/oci8/tests/bind_long.phpt:1.7
--- php-src/ext/oci8/tests/bind_long.phpt:1.6   Tue May 27 14:30:37 2008
+++ php-src/ext/oci8/tests/bind_long.phpt   Wed Mar 25 01:57:22 2009
@@ -33,6 +33,6 @@
 
 ?
 --EXPECT--
-unicode(32) da852396d08c9ef9fbdf914db1d6d5bb
-int(276)
+unicode(32) 5c7c34abf7ea51936785062dbfcaeddc
+int(394)
 Done



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



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/oci8/tests bind_long.phpt test.txt

2009-03-24 Thread Christopher Jones
sixdWed Mar 25 01:57:40 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/oci8/tests test.txt bind_long.phpt 
  Log:
  MFH: use random text
  
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/tests/test.txt?r1=1.1.2.2r2=1.1.2.2.2.1diff_format=u
Index: php-src/ext/oci8/tests/test.txt
diff -u php-src/ext/oci8/tests/test.txt:1.1.2.2 
php-src/ext/oci8/tests/test.txt:1.1.2.2.2.1
--- php-src/ext/oci8/tests/test.txt:1.1.2.2 Tue May 30 21:54:42 2006
+++ php-src/ext/oci8/tests/test.txt Wed Mar 25 01:57:40 2009
@@ -1,9 +1,9 @@
-Feel so good, I feel so fine
-Love that little lady always on my mind
-She gives me loving every night and day
-Never gonna leave her, never going away
+Ipsum lorem, IPSUM Lorem Ipsum lorem Ipsum lorem
+Ipsum lorem IPSum Lorem Ipsum lorem ipsum Lorem
+Ipsum Lorem ipsum Lorem - ipsum Lorem ipsum lorem
+Ipsum lorem IPSUM Lorem Ipsum lorem, Ipsum lorem.
 
-Someone to love me
-You know she makes me feel all right, yeah (all right)
-Someone to need me
-Love me every single night, yeah
+Ipsum LOREM, ipsum Lorem Ipsum lorem Ipsum lorem
+Ipsum lorem Ipsum Lorem Ipsum lorem ipsum Lorem
+Ipsum Lorem ipsum Lorem  ipsum Lorem; ipsum lorem
+Ipsum lorem ipsum LOREM Ipsum lorem Ipsum lorem!
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/tests/bind_long.phpt?r1=1.1.2.1.2.1r2=1.1.2.1.2.1.2.1diff_format=u
Index: php-src/ext/oci8/tests/bind_long.phpt
diff -u php-src/ext/oci8/tests/bind_long.phpt:1.1.2.1.2.1 
php-src/ext/oci8/tests/bind_long.phpt:1.1.2.1.2.1.2.1
--- php-src/ext/oci8/tests/bind_long.phpt:1.1.2.1.2.1   Tue May 30 21:54:42 2006
+++ php-src/ext/oci8/tests/bind_long.phpt   Wed Mar 25 01:57:40 2009
@@ -33,6 +33,6 @@
 
 ?
 --EXPECT--
-string(32) da852396d08c9ef9fbdf914db1d6d5bb
-int(276)
+string(32) 5c7c34abf7ea51936785062dbfcaeddc
+int(394)
 Done



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



[PHP-CVS] cvs: php-src /ext/oci8 package.xml

2009-03-24 Thread Christopher Jones
sixdWed Mar 25 01:59:17 2009 UTC

  Modified files:  
/php-src/ext/oci8   package.xml 
  Log:
  sync with 5.3
  http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/package.xml?r1=1.20r2=1.21diff_format=u
Index: php-src/ext/oci8/package.xml
diff -u php-src/ext/oci8/package.xml:1.20 php-src/ext/oci8/package.xml:1.21
--- php-src/ext/oci8/package.xml:1.20   Thu Aug 24 11:53:37 2006
+++ php-src/ext/oci8/package.xmlWed Mar 25 01:59:17 2009
@@ -1,254 +1,625 @@
-?xml version=1.0 encoding=ISO-8859-1 ?
-!DOCTYPE package SYSTEM ../pear/package.dtd
-package
+?xml version=1.0 encoding=UTF-8?
+package packagerversion=1.4.11 version=2.0 
xmlns=http://pear.php.net/dtd/package-2.0; 
xmlns:tasks=http://pear.php.net/dtd/tasks-1.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://pear.php.net/dtd/tasks-1.0
+http://pear.php.net/dtd/tasks-1.0.xsd
+http://pear.php.net/dtd/package-2.0
+http://pear.php.net/dtd/package-2.0.xsd;
  nameoci8/name
- summaryOCI8 functions/summary
- maintainers
-  maintainer
-   usertony2001/user
-   nameAntony Dovgal/name
-   emailtony2...@php.net/email
-   rolelead/role
-  /maintainer
-  maintainer
-   userwez/user
-   nameWez Furlong/name
-   emailw...@php.net/email
-   rolelead/role
-  /maintainer
-  maintainer
-   userandi/user
-   nameAndi Gutmans/name
-   emaila...@zend.com/email
-   rolelead/role
-  /maintainer
- /maintainers
- description
-  These functions allow you to access Oracle database servers using 
-  the Oracle Call Interface (OCI8).
+ channelpecl.php.net/channel
+ summaryExtension for Oracle Database/summary
+ descriptionThis extension allows you to access Oracle databases using the 
Oracle Call Interface (OCI8). It can be built with PHP 4.3.9 to 5.x.  It can be 
linked with Oracle 9.2, 10.2 or 11.1 client libraries.
  /description
- licensePHP/license
+ lead
+  nameChristopher Jones/name
+  usersixd/user
+  emails...@php.net/email
+  activeyes/active
+ /lead
+ lead
+  nameAntony Dovgal/name
+  usertony2001/user
+  emailtony2...@php.net/email
+  activeyes/active
+ /lead
+ lead
+  nameWez Furlong/name
+  userwez/user
+  emailw...@php.net/email
+  activeno/active
+ /lead
+ lead
+  nameAndi Gutmans/name
+  userandi/user
+  emaila...@zend.com/email
+  activeno/active
+ /lead
+
+ date2009-03-16/date
+ time10:00:00/time
+
+ version
+  release1.3.5/release
+  api1.3.4/api
+ /version
+ stability
+  releasestable/release
+  apistable/api
+ /stability
+ license uri=http://www.php.net/license;PHP/license
+ notesFixed Bug #47243 (Crash at end of request shutdown on Windows)
+Fixed Bug #46994 (CLOB size does not update when using CLOB IN OUT param in 
stored procedure)
+Fixed Bug #46623 (phpinfo doesn't show compile time ORACLE_HOME with phpize)
+Fixed bug #45458 (Numeric keys for associative arrays are not handled 
properly) Note: not fixed when building with PHP 4 due to lack of PHP internal 
helper.
+Fixed PECL Bug #16035 (oci_connect without ORACLE_HOME defined causes segfault)
+Fixed PECL Bug #15988 (sqlnet.ora isn't read with older Oracle libraries)
+Fixed PECL Bug #14268 (Allow pecl install oci8 command to autodetect an 
Instant Client RPM install)
+ /notes
+ contents
+  dir name=/
+   dir name=tests
+file name=array_bind_001.phpt role=test /
+file name=array_bind_002.phpt role=test /
+file name=array_bind_003.phpt role=test /
+file name=array_bind_004.phpt role=test /
+file name=array_bind_005.phpt role=test /
+file name=array_bind_006.phpt role=test /
+file name=array_bind_007.phpt role=test /
+file name=array_bind_008.phpt role=test /
+file name=array_bind_009.phpt role=test /
+file name=array_bind_010.phpt role=test /
+file name=array_bind_011.phpt role=test /
+file name=array_bind_012.phpt role=test /
+file name=array_bind_013.phpt role=test /
+file name=array_bind_014.phpt role=test /
+file name=array_bind_date1.phpt role=test /
+file name=array_bind_date.phpt role=test /
+file name=array_bind_float1.phpt role=test /
+file name=array_bind_float.phpt role=test /
+file name=array_bind_int1.phpt role=test /
+file name=array_bind_int.phpt role=test /
+file name=array_bind_str1.phpt role=test /
+file name=array_bind_str.phpt role=test /
+file name=b47243_1.phpt role=test /
+file name=b47243_2.phpt role=test /
+file name=b47243_3.phpt role=test /
+file name=bind_char_1.phpt role=test /
+file name=bind_char_2.phpt role=test /
+file name=bind_char_3.phpt role=test /
+file name=bind_char_4.phpt role=test /
+file name=bind_empty.phpt role=test /
+file name=bind_long.phpt role=test /
+file name=bind_long_raw.phpt role=test /
+file name=bind_raw.phpt role=test /
+file name=bug26133.phpt role=test /
+file name=bug27303_2.phpt role=test /
+file name=bug27303_3.phpt role=test /
+file name=bug27303_4.phpt role=test /
+file name=bug27303.phpt role=test /
+file name=bug32325.phpt 

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/oci8 package.xml

2009-03-24 Thread Christopher Jones
sixdWed Mar 25 02:00:26 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/oci8   package.xml 
  Log:
  Obsolete package2.xml: resume using package.xml
  http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/package.xml?r1=1.2.4.1.2.2r2=1.2.4.1.2.2.2.1diff_format=u
Index: php-src/ext/oci8/package.xml
diff -u php-src/ext/oci8/package.xml:1.2.4.1.2.2 
php-src/ext/oci8/package.xml:1.2.4.1.2.2.2.1
--- php-src/ext/oci8/package.xml:1.2.4.1.2.2Wed Jan 24 14:34:13 2007
+++ php-src/ext/oci8/package.xmlWed Mar 25 02:00:26 2009
@@ -1,328 +1,627 @@
-?xml version=1.0 encoding=ISO-8859-1 ?
-!DOCTYPE package SYSTEM ../pear/package.dtd
-package
+?xml version=1.0 encoding=UTF-8?
+package packagerversion=1.4.11 version=2.0 
xmlns=http://pear.php.net/dtd/package-2.0; 
xmlns:tasks=http://pear.php.net/dtd/tasks-1.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://pear.php.net/dtd/tasks-1.0
+http://pear.php.net/dtd/tasks-1.0.xsd
+http://pear.php.net/dtd/package-2.0
+http://pear.php.net/dtd/package-2.0.xsd;
  nameoci8/name
- summaryOCI8 functions/summary
- maintainers
-  maintainer
-   usertony2001/user
-   nameAntony Dovgal/name
-   emailtony2...@php.net/email
-   rolelead/role
-  /maintainer
-  maintainer
-   userwez/user
-   nameWez Furlong/name
-   emailw...@php.net/email
-   rolelead/role
-  /maintainer
-  maintainer
-   userandi/user
-   nameAndi Gutmans/name
-   emaila...@zend.com/email
-   rolelead/role
-  /maintainer
- /maintainers
- description
-  These functions allow you to access Oracle database servers using 
-  the Oracle Call Interface (OCI8).
+ channelpecl.php.net/channel
+ summaryExtension for Oracle Database/summary
+ descriptionThis extension allows you to access Oracle databases using the 
Oracle Call Interface (OCI8). It can be built with PHP 4.3.9 to 5.x.  It can be 
linked with Oracle 9.2, 10.2 or 11.1 client libraries.
  /description
- licensePHP/license
+ lead
+  nameChristopher Jones/name
+  usersixd/user
+  emails...@php.net/email
+  activeyes/active
+ /lead
+ lead
+  nameAntony Dovgal/name
+  usertony2001/user
+  emailtony2...@php.net/email
+  activeyes/active
+ /lead
+ lead
+  nameWez Furlong/name
+  userwez/user
+  emailw...@php.net/email
+  activeno/active
+ /lead
+ lead
+  nameAndi Gutmans/name
+  userandi/user
+  emaila...@zend.com/email
+  activeno/active
+ /lead
+
+ date2009-03-16/date
+ time10:00:00/time
+
+ version
+  release1.3.5/release
+  api1.3.4/api
+ /version
+ stability
+  releasestable/release
+  apistable/api
+ /stability
+ license uri=http://www.php.net/license;PHP/license
+ notesFixed Bug #47243 (Crash at end of request shutdown on Windows)
+Fixed Bug #46994 (CLOB size does not update when using CLOB IN OUT param in 
stored procedure)
+Fixed Bug #46623 (phpinfo doesn't show compile time ORACLE_HOME with phpize)
+Fixed bug #45458 (Numeric keys for associative arrays are not handled 
properly) Note: not fixed when building with PHP 4 due to lack of PHP internal 
helper.
+Fixed PECL Bug #16035 (oci_connect without ORACLE_HOME defined causes segfault)
+Fixed PECL Bug #15988 (sqlnet.ora isn't read with older Oracle libraries)
+Fixed PECL Bug #14268 (Allow pecl install oci8 command to autodetect an 
Instant Client RPM install)
+ /notes
+ contents
+  dir name=/
+   dir name=tests
+file name=array_bind_001.phpt role=test /
+file name=array_bind_002.phpt role=test /
+file name=array_bind_003.phpt role=test /
+file name=array_bind_004.phpt role=test /
+file name=array_bind_005.phpt role=test /
+file name=array_bind_006.phpt role=test /
+file name=array_bind_007.phpt role=test /
+file name=array_bind_008.phpt role=test /
+file name=array_bind_009.phpt role=test /
+file name=array_bind_010.phpt role=test /
+file name=array_bind_011.phpt role=test /
+file name=array_bind_012.phpt role=test /
+file name=array_bind_013.phpt role=test /
+file name=array_bind_014.phpt role=test /
+file name=array_bind_date1.phpt role=test /
+file name=array_bind_date.phpt role=test /
+file name=array_bind_float1.phpt role=test /
+file name=array_bind_float.phpt role=test /
+file name=array_bind_int1.phpt role=test /
+file name=array_bind_int.phpt role=test /
+file name=array_bind_str1.phpt role=test /
+file name=array_bind_str.phpt role=test /
+file name=b47243_1.phpt role=test /
+file name=b47243_2.phpt role=test /
+file name=b47243_3.phpt role=test /
+file name=bind_char_1.phpt role=test /
+file name=bind_char_2.phpt role=test /
+file name=bind_char_3.phpt role=test /
+file name=bind_char_4.phpt role=test /
+file name=bind_empty.phpt role=test /
+file name=bind_long.phpt role=test /
+file name=bind_long_raw.phpt role=test /
+file name=bind_raw.phpt role=test /
+file name=bug26133.phpt role=test /
+file name=bug27303_2.phpt role=test /
+file name=bug27303_3.phpt role=test /
+file 

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/oci8 package2.xml

2009-03-24 Thread Christopher Jones
sixdWed Mar 25 02:00:53 2009 UTC

  Removed files:   (Branch: PHP_5_3)
/php-src/ext/oci8   package2.xml 
  Log:
  Obsolete package2.xml: resume using package.xml
  



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



Re: [PHP-CVS] cvs: php-src(PHP_5_2) / NEWS /ext/mbstring/oniguruma regint.h /ext/sysvshm sysvshm.c

2009-03-24 Thread Moriyoshi Koizumi
Hey, we need to be more specific on what was the problem and what this
patch actually fixes; oniguruma is a third-party library and I really
don't think we'll be good at keeping up to upstream-updates with such
a site specific change.

Moriyoshi

2009/3/20 Ilia Alshanetsky il...@php.net:
 iliaa           Thu Mar 19 23:10:45 2009 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/mbstring/oniguruma     regint.h
    /php-src/ext/sysvshm        sysvshm.c
    /php-src    NEWS
  Log:

  Fixed bug #47721 (Aligment issues in mbstring and sysvshm extension)

 http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/oniguruma/regint.h?r1=1.5.4.7r2=1.5.4.8diff_format=u
 Index: php-src/ext/mbstring/oniguruma/regint.h
 diff -u php-src/ext/mbstring/oniguruma/regint.h:1.5.4.7 
 php-src/ext/mbstring/oniguruma/regint.h:1.5.4.8
 --- php-src/ext/mbstring/oniguruma/regint.h:1.5.4.7     Wed Dec 31 11:17:39 
 2008
 +++ php-src/ext/mbstring/oniguruma/regint.h     Thu Mar 19 23:10:44 2009
 @@ -256,7 +256,7 @@
  #define NULL_UCHARP                   ((UChar* )0)

  #ifndef PLATFORM_UNALIGNED_WORD_ACCESS
 -#define WORD_ALIGNMENT_SIZE       SIZEOF_INT
 +#define WORD_ALIGNMENT_SIZE       SIZEOF_LONG

  #define GET_ALIGNMENT_PAD_SIZE(addr,pad_size) do {\
   (pad_size) = WORD_ALIGNMENT_SIZE \
 http://cvs.php.net/viewvc.cgi/php-src/ext/sysvshm/sysvshm.c?r1=1.70.2.2.2.7r2=1.70.2.2.2.8diff_format=u
 Index: php-src/ext/sysvshm/sysvshm.c
 diff -u php-src/ext/sysvshm/sysvshm.c:1.70.2.2.2.7 
 php-src/ext/sysvshm/sysvshm.c:1.70.2.2.2.8
 --- php-src/ext/sysvshm/sysvshm.c:1.70.2.2.2.7  Wed Dec 31 11:17:46 2008
 +++ php-src/ext/sysvshm/sysvshm.c       Thu Mar 19 23:10:44 2009
 @@ -16,7 +16,7 @@
    +--+
  */

 -/* $Id: sysvshm.c,v 1.70.2.2.2.7 2008/12/31 11:17:46 sebastian Exp $ */
 +/* $Id: sysvshm.c,v 1.70.2.2.2.8 2009/03/19 23:10:44 iliaa Exp $ */

  /* This has been built and tested on Linux 2.2.14
  *
 @@ -375,7 +375,7 @@
        long total_size;
        long shm_varpos;

 -       total_size = ((long) (len + sizeof(sysvshm_chunk) - 1) / 4) * 4 + 4; 
 /* 4-byte alligment */
 +       total_size = ((long) (len + sizeof(sysvshm_chunk) - 1) / 
 sizeof(long)) * sizeof(long) + sizeof(long); /* long alligment */

        if ((shm_varpos = php_check_shm_data(ptr, key))  0) {
                php_remove_shm_data(ptr, shm_varpos);
 http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1445r2=1.2027.2.547.2.1446diff_format=u
 Index: php-src/NEWS
 diff -u php-src/NEWS:1.2027.2.547.2.1445 php-src/NEWS:1.2027.2.547.2.1446
 --- php-src/NEWS:1.2027.2.547.2.1445    Thu Mar 19 17:56:01 2009
 +++ php-src/NEWS        Thu Mar 19 23:10:44 2009
 @@ -6,6 +6,8 @@

  - Fixed memory corruptions while reading properties of zip files. (Ilia)

 +- Fixed bug #47721 (Aligment issues in mbstring and sysvshm extension)
 +  (crrodriguez at opensuse dot org, Ilia)
  - Fixed bug #47704 (PHP crashes on some bad operations with string 
 offsets).
   (Dmitry)
  - Fixed bug #47667 (ZipArchive::OVERWRITE seems to have no effect). (Mikko, 
 Pierre)



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



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



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/pdo_mysql/tests pdo_mysql_stmt_multiquery.phpt

2009-03-24 Thread Felipe Pena
felipe  Tue Mar 24 15:51:13 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/pdo_mysql/testspdo_mysql_stmt_multiquery.phpt 
  Log:
  - Fix test
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_multiquery.phpt?r1=1.1.2.3r2=1.1.2.4diff_format=u
Index: php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_multiquery.phpt
diff -u php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_multiquery.phpt:1.1.2.3 
php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_multiquery.phpt:1.1.2.4
--- php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_multiquery.phpt:1.1.2.3  Mon Nov 
10 18:44:04 2008
+++ php-src/ext/pdo_mysql/tests/pdo_mysql_stmt_multiquery.phpt  Tue Mar 24 
15:51:13 2009
@@ -93,6 +93,6 @@
 }
 Native Prepared Statements...
 
-Warning: PDO::query(): SQLSTATE[42000]: Syntax error or access violation: 1064 
You have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near '; SELECT label FROM test 
ORDER BY id ASC LIMIT 1' at line %d in %s on line %d
+Warning: PDO::query(): SQLSTATE[42000]: Syntax error or access violation: 1064 
You have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near '%SSELECT label FROM test 
ORDER BY id ASC LIMIT 1' at line %d in %s on line %d
 
 Fatal error: Call to a member function errorInfo() on a non-object in %s on 
line %d



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