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

2009-02-25 Thread changelog
changelog   Thu Feb 26 01:32:53 2009 UTC

  Modified files:  
/php-srcChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/viewvc.cgi/php-src/ChangeLog?r1=1.3329r2=1.3330diff_format=u
Index: php-src/ChangeLog
diff -u php-src/ChangeLog:1.3329 php-src/ChangeLog:1.3330
--- php-src/ChangeLog:1.3329Wed Feb 25 01:32:42 2009
+++ php-src/ChangeLog   Thu Feb 26 01:32:51 2009
@@ -1,3 +1,27 @@
+2009-02-25  Uwe Schindler  u...@thetaphi.de
+
+* (PHP_5_2)
+  sapi/nsapi/nsapi.c:
+  Fix Bug 47495: Keep header in internal list after add, so headers_list()
+  works correctly. Other SAPIs have the same problem, but PHP 5.3 fixes 
this
+  more elegant.
+
+2009-02-25  Ilia Alshanetsky  i...@prohost.org
+
+* (PHP_5_2)
+  NEWS
+  configure.in
+  main/php_version.h:
+  
+  Back to dev
+
+* (PHP_5_2)
+  NEWS
+  configure.in
+  main/php_version.h:
+  
+  5.2.9
+
 2009-02-24  Ilia Alshanetsky  i...@prohost.org
 
 * ext/zip/php_zip.c:
@@ -30824,7 +30848,7 @@
 
 * sapi/litespeed/lsapi_main.c
   sapi/litespeed/lsapilib.c:
-  - Added missing $Id: ChangeLog,v 1.3329 2009/02/25 01:32:42 changelog 
Exp $ tags and nuked c++ comments
+  - Added missing $Id: ChangeLog,v 1.3330 2009/02/26 01:32:51 changelog 
Exp $ tags and nuked c++ comments
 
 * (PHP_5_3)
   ext/intl/locale/locale.c




[PHP-CVS] cvs: php-src(PHP_5_2) / NEWS configure.in /main php_version.h

2009-02-25 Thread Ilia Alshanetsky
iliaa   Wed Feb 25 14:56:51 2009 UTC

  Modified files:  (Branch: PHP_5_2)
/php-srcconfigure.in NEWS 
/php-src/main   php_version.h 
  Log:
  
  5.2.9
  http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.130r2=1.579.2.52.2.131diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.130 
php-src/configure.in:1.579.2.52.2.131
--- php-src/configure.in:1.579.2.52.2.130   Thu Feb 19 18:33:37 2009
+++ php-src/configure.inWed Feb 25 14:56:50 2009
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.579.2.52.2.130 2009/02/19 18:33:37 iliaa Exp $ -*- 
autoconf -*-
+## $Id: configure.in,v 1.579.2.52.2.131 2009/02/25 14:56:50 iliaa Exp $ -*- 
autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -42,7 +42,7 @@
 PHP_MAJOR_VERSION=5
 PHP_MINOR_VERSION=2
 PHP_RELEASE_VERSION=9
-PHP_EXTRA_VERSION=RC4-dev
+PHP_EXTRA_VERSION=
 
PHP_VERSION=$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION
 PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 1 + [$]PHP_MINOR_VERSION \* 
100 + [$]PHP_RELEASE_VERSION`
 
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1428r2=1.2027.2.547.2.1429diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1428 php-src/NEWS:1.2027.2.547.2.1429
--- php-src/NEWS:1.2027.2.547.2.1428Mon Feb 23 21:21:23 2009
+++ php-src/NEWSWed Feb 25 14:56:50 2009
@@ -1,30 +1,6 @@
 PHPNEWS
 |||
-?? Feb 2009, PHP 5.2.9RC4
-- Fixed bug #37209 (mssql_execute with non fatal errors). (Kalle)
-
-19 Feb 2009, PHP 5.2.9RC3
-- Fixed bug #47422 (modulus operator returns incorrect results on 64 bit 
linux).
-  (Matt)
-- Fixed bug #47399 (mb_check_encoding() returns true for some illegal SJIS
-  characters). (for-bugs at hnw dot jp, Moriyoshi)
-- Fixed bug #47049 (SoapClient::__soapCall causes a segmentation fault).
-  (Dmitry)
-- Fixed bug #45940 (MySQLI OO does not populate connect_error property on
-  failed connect). (Johannes)
-- Fixed bug #45923 (mb_st[r]ripos() offset not handled correctly). (Moriyoshi)
-- Fixed bug #45327 (memory leak if offsetGet throws exception). (Greg)
-- Fixed bug #43841 (mb_strrpos() offset is byte count for negative values).
-  (Moriyoshi)
-
-12 Feb 2009, PHP 5.2.9RC2
-- Fixed bug #47353 (crash when creating a lot of objects in object destructor).
-  (Tony)
-- Fixed bug #47322 (sscanf %d doesn't work). (Felipe)
-- Fixed bug #46026 (bz2.decompress/zlib.inflate filter tries to decompress 
after
-  end of stream). (Greg)
-
-02 Feb 2009, PHP 5.2.9RC1
+26 Feb 2009, PHP 5.2.9
 - Changed __call() to be invoked on private/protected method access, similar to
   properties and __get(). (Andrei)
 
@@ -43,11 +19,17 @@
 - Fixed bug in xml_error_string() which resulted in messages being
   off by one. (Scott)
 
+- Fixed bug #47422 (modulus operator returns incorrect results on 64 bit
+  linux). (Matt)
+- Fixed bug #47399 (mb_check_encoding() returns true for some illegal SJIS
+  characters). (for-bugs at hnw dot jp, Moriyoshi)
+- Fixed bug #47353 (crash when creating a lot of objects in object
+  destructor). (Tony)
+- Fixed bug #47322 (sscanf %d doesn't work). (Felipe)
 - Fixed bug #47282 (FILTER_VALIDATE_EMAIL is marking valid email addresses
   as invalid). (Ilia)
 - Fixed bug #47220 (segfault in dom_document_parser in recovery mode). (Rob)
-- Fixed bug #47217 (content-type is not set properly for file uploads).
-  (Ilia)
+- Fixed bug #47217 (content-type is not set properly for file uploads). (Ilia)
 - Fixed bug #47174 (base64_decode() interprets pad char in mid string as
   terminator). (Ilia)
 - Fixed bug #47165 (Possible memory corruption when passing return value by
@@ -55,53 +37,66 @@
 - Fixed bug #47152 (gzseek/fseek using SEEK_END produces strange results).
   (Felipe)
 - Fixed bug #47131 (SOAP Extension ignores user_agent ini setting). (Ilia)
-- Fixed bug #47104 (Linking shared extensions fails with icc). (Jani)
 - Fixed bug #47109 (Memory leak on $a-{a.b} when $a is not an object).
   (Etienne, Dmitry)
+- Fixed bug #47104 (Linking shared extensions fails with icc). (Jani)
+- Fixed bug #47049 (SoapClient::__soapCall causes a segmentation fault).
+  (Dmitry)
 - Fixed bug #47048 (Segfault with new pg_meta_data). (Felipe)
-- Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non apache).
-  (Sriram Natarajan)
-- Fixed bug #47037 (No error when using fopen with empty string). 
-  (Cristian Rodriguez R., Felipe)
-- Fixed bug #47035 (dns_get_record returns a garbage byte at the end of a TXT 
-  record). (Felipe)
+- Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non
+  apache). (Sriram Natarajan)
+- Fixed bug #47037 (No error when using fopen with empty string). (Cristian
+  Rodriguez R., Felipe)
+- Fixed bug #47035 (dns_get_record returns a garbage 

[PHP-CVS] cvs: php-src(PHP_5_2) / NEWS configure.in /main php_version.h

2009-02-25 Thread Ilia Alshanetsky
iliaa   Wed Feb 25 15:34:33 2009 UTC

  Modified files:  (Branch: PHP_5_2)
/php-srcconfigure.in NEWS 
/php-src/main   php_version.h 
  Log:
  
  Back to dev
  
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.131r2=1.579.2.52.2.132diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.131 
php-src/configure.in:1.579.2.52.2.132
--- php-src/configure.in:1.579.2.52.2.131   Wed Feb 25 14:56:50 2009
+++ php-src/configure.inWed Feb 25 15:34:33 2009
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.579.2.52.2.131 2009/02/25 14:56:50 iliaa Exp $ -*- 
autoconf -*-
+## $Id: configure.in,v 1.579.2.52.2.132 2009/02/25 15:34:33 iliaa Exp $ -*- 
autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -41,8 +41,8 @@
 
 PHP_MAJOR_VERSION=5
 PHP_MINOR_VERSION=2
-PHP_RELEASE_VERSION=9
-PHP_EXTRA_VERSION=
+PHP_RELEASE_VERSION=10
+PHP_EXTRA_VERSION=-dev
 
PHP_VERSION=$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION
 PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 1 + [$]PHP_MINOR_VERSION \* 
100 + [$]PHP_RELEASE_VERSION`
 
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1429r2=1.2027.2.547.2.1430diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1429 php-src/NEWS:1.2027.2.547.2.1430
--- php-src/NEWS:1.2027.2.547.2.1429Wed Feb 25 14:56:50 2009
+++ php-src/NEWSWed Feb 25 15:34:33 2009
@@ -1,5 +1,7 @@
 PHPNEWS
 |||
+?? ??? 2009, PHP 5.2.10
+
 26 Feb 2009, PHP 5.2.9
 - Changed __call() to be invoked on private/protected method access, similar to
   properties and __get(). (Andrei)
http://cvs.php.net/viewvc.cgi/php-src/main/php_version.h?r1=1.112.2.37.2.91r2=1.112.2.37.2.92diff_format=u
Index: php-src/main/php_version.h
diff -u php-src/main/php_version.h:1.112.2.37.2.91 
php-src/main/php_version.h:1.112.2.37.2.92
--- php-src/main/php_version.h:1.112.2.37.2.91  Wed Feb 25 14:56:50 2009
+++ php-src/main/php_version.h  Wed Feb 25 15:34:33 2009
@@ -2,7 +2,7 @@
 /* edit configure.in to change version number */
 #define PHP_MAJOR_VERSION 5
 #define PHP_MINOR_VERSION 2
-#define PHP_RELEASE_VERSION 9
-#define PHP_EXTRA_VERSION 
-#define PHP_VERSION 5.2.9
-#define PHP_VERSION_ID 50209
+#define PHP_RELEASE_VERSION 10
+#define PHP_EXTRA_VERSION -dev
+#define PHP_VERSION 5.2.10-dev
+#define PHP_VERSION_ID 50210



-- 
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 configure.in /main php_version.h

2009-02-25 Thread Moriyoshi Koizumi
Ilia,

We didn't resolve the array_unique() issue yet. Please take this into account.

Moriyoshi

2009/2/25 Ilia Alshanetsky il...@php.net:
 iliaa           Wed Feb 25 14:56:51 2009 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    configure.in NEWS
    /php-src/main       php_version.h
  Log:

  5.2.9

 --
 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_2) / NEWS configure.in /main php_version.h

2009-02-25 Thread Ilia Alshanetsky

Moriyoshi,

My opinion is that the current implementation is valid, which is why  
Andrei's patch was accepted in the first place.



On 25-Feb-09, at 9:34 PM, Moriyoshi Koizumi wrote:


Ilia,

We didn't resolve the array_unique() issue yet. Please take this  
into account.


Moriyoshi

2009/2/25 Ilia Alshanetsky il...@php.net:

iliaa   Wed Feb 25 14:56:51 2009 UTC

 Modified files:  (Branch: PHP_5_2)
   /php-srcconfigure.in NEWS
   /php-src/main   php_version.h
 Log:

 5.2.9

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



Ilia Alshanetsky





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



[PHP-CVS] cvs: php-src(PHP_5_2) /sapi/nsapi nsapi.c

2009-02-25 Thread Uwe Schindler
thetaphiWed Feb 25 19:52:06 2009 UTC

  Modified files:  (Branch: PHP_5_2)
/php-src/sapi/nsapi nsapi.c 
  Log:
  Fix Bug 47495: Keep header in internal list after add, so headers_list() 
works correctly. Other SAPIs have the same problem, but PHP 5.3 fixes this more 
elegant.
  
http://cvs.php.net/viewvc.cgi/php-src/sapi/nsapi/nsapi.c?r1=1.69.2.3.2.16r2=1.69.2.3.2.17diff_format=u
Index: php-src/sapi/nsapi/nsapi.c
diff -u php-src/sapi/nsapi/nsapi.c:1.69.2.3.2.16 
php-src/sapi/nsapi/nsapi.c:1.69.2.3.2.17
--- php-src/sapi/nsapi/nsapi.c:1.69.2.3.2.16Tue Jan  6 13:46:49 2009
+++ php-src/sapi/nsapi/nsapi.c  Wed Feb 25 19:52:06 2009
@@ -17,7 +17,7 @@
+--+
 */
 
-/* $Id: nsapi.c,v 1.69.2.3.2.16 2009/01/06 13:46:49 thetaphi Exp $ */
+/* $Id: nsapi.c,v 1.69.2.3.2.17 2009/02/25 19:52:06 thetaphi Exp $ */
 
 /*
  * PHP includes
@@ -294,7 +294,7 @@
 PHP_MINFO_FUNCTION(nsapi)
 {
php_info_print_table_start();
-   php_info_print_table_row(2, NSAPI Module Revision, $Revision: 
1.69.2.3.2.16 $);
+   php_info_print_table_row(2, NSAPI Module Revision, $Revision: 
1.69.2.3.2.17 $);
php_info_print_table_row(2, Server Software, system_version());
php_info_print_table_row(2, Sub-requests with nsapi_virtual(),
 (nsapi_servact_service)?((zend_ini_long(zlib.output_compression, 
sizeof(zlib.output_compression), 0))?not supported with 
zlib.output_compression:enabled):not supported on this platform );
@@ -473,7 +473,7 @@
char *header_name, *header_content, *p;
nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
 
-   header_name = sapi_header-header;
+   header_name = nsapi_strdup(sapi_header-header);
header_content = p = strchr(header_name, ':');
if (p == NULL) {
efree(sapi_header-header);
@@ -497,9 +497,9 @@
pblock_nvinsert(header_name, header_content, rc-rq-srvhdrs);
}
 
-   sapi_free_header(sapi_header);
+   nsapi_free(header_name);
 
-   return 0;   /* don't use the default SAPI mechanism, NSAPI 
duplicates this functionality */
+   return SAPI_HEADER_ADD;
 }
 
 static int sapi_nsapi_send_headers(sapi_headers_struct *sapi_headers TSRMLS_DC)



-- 
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 configure.in /main php_version.h

2009-02-25 Thread Moriyoshi Koizumi
The issue is not whether it is valid or not. Andrei's patch broke the
backwards compatibility that affects real-world applications and thus
cannot be regarded as an improvement.

Moriyoshi

On Thu, Feb 26, 2009 at 11:51 AM, Ilia Alshanetsky i...@prohost.org wrote:
 Moriyoshi,

 My opinion is that the current implementation is valid, which is why
 Andrei's patch was accepted in the first place.


 On 25-Feb-09, at 9:34 PM, Moriyoshi Koizumi wrote:

 Ilia,

 We didn't resolve the array_unique() issue yet. Please take this into
 account.

 Moriyoshi

 2009/2/25 Ilia Alshanetsky il...@php.net:

 iliaa           Wed Feb 25 14:56:51 2009 UTC

  Modified files:              (Branch: PHP_5_2)
   /php-src    configure.in NEWS
   /php-src/main       php_version.h
  Log:

  5.2.9

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


 Ilia Alshanetsky






--
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 configure.in /main php_version.h

2009-02-25 Thread Moriyoshi Koizumi
In addition, I didn't insist that the whole thing should be reverted.
I just argue about the default value.

Moriyoshi

On Thu, Feb 26, 2009 at 1:27 PM, Moriyoshi Koizumi m...@mozo.jp wrote:
 The issue is not whether it is valid or not. Andrei's patch broke the
 backwards compatibility that affects real-world applications and thus
 cannot be regarded as an improvement.

 Moriyoshi

 On Thu, Feb 26, 2009 at 11:51 AM, Ilia Alshanetsky i...@prohost.org wrote:
 Moriyoshi,

 My opinion is that the current implementation is valid, which is why
 Andrei's patch was accepted in the first place.


 On 25-Feb-09, at 9:34 PM, Moriyoshi Koizumi wrote:

 Ilia,

 We didn't resolve the array_unique() issue yet. Please take this into
 account.

 Moriyoshi

 2009/2/25 Ilia Alshanetsky il...@php.net:

 iliaa           Wed Feb 25 14:56:51 2009 UTC

  Modified files:              (Branch: PHP_5_2)
   /php-src    configure.in NEWS
   /php-src/main       php_version.h
  Log:

  5.2.9

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


 Ilia Alshanetsky







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