felipe          Wed Mar 12 11:27:42 2008 UTC

  Added files:                 (Branch: PHP_5_2)
    /php-src/ext/standard/tests/general_functions       bug44394.phpt 
                                                        bug44394_2.phpt 

  Modified files:              
    /php-src    NEWS 
    /php-src/ext/standard       url_scanner_ex.c 
  Log:
  Fixed bug #44394 (Last two bytes missing from output)
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1113&r2=1.2027.2.547.2.1114&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1113 php-src/NEWS:1.2027.2.547.2.1114
--- php-src/NEWS:1.2027.2.547.2.1113    Sat Mar  8 14:10:34 2008
+++ php-src/NEWS        Wed Mar 12 11:27:42 2008
@@ -1,6 +1,7 @@
 PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? Mar 2008 , PHP 5.2.6
+- Fixed bug #44394 (Last two bytes missing from output). (Felipe)
 - Fixed bug #44373 (PDO_OCI extension compile failed). (Felipe)
 
 06 Mar 2008, PHP 5.2.6RC2
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/url_scanner_ex.c?r1=1.95.2.4.2.5&r2=1.95.2.4.2.6&diff_format=u
Index: php-src/ext/standard/url_scanner_ex.c
diff -u php-src/ext/standard/url_scanner_ex.c:1.95.2.4.2.5 
php-src/ext/standard/url_scanner_ex.c:1.95.2.4.2.6
--- php-src/ext/standard/url_scanner_ex.c:1.95.2.4.2.5  Wed Oct 10 09:28:51 2007
+++ php-src/ext/standard/url_scanner_ex.c       Wed Mar 12 11:27:42 2008
@@ -18,7 +18,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: url_scanner_ex.c,v 1.95.2.4.2.5 2007/10/10 09:28:51 jani Exp $ */
+/* $Id: url_scanner_ex.c,v 1.95.2.4.2.6 2008/03/12 11:27:42 felipe Exp $ */
 
 #include "php.h"
 
@@ -1007,7 +1007,7 @@
        size_t len;
 
        if (BG(url_adapt_state_ex).url_app.len != 0) {
-               *handled_output = url_adapt_ext(output, output_len, &len, 
(zend_bool) (mode & PHP_OUTPUT_HANDLER_END ? 1 : 0) TSRMLS_CC);
+               *handled_output = url_adapt_ext(output, output_len, &len, 
(zend_bool) (mode & (PHP_OUTPUT_HANDLER_END | PHP_OUTPUT_HANDLER_CONT) ? 1 : 0) 
TSRMLS_CC);
                if (sizeof(uint) < sizeof(size_t)) {
                        if (len > UINT_MAX)
                                len = UINT_MAX;

http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44394.phpt?view=markup&rev=1.1
Index: php-src/ext/standard/tests/general_functions/bug44394.phpt
+++ php-src/ext/standard/tests/general_functions/bug44394.phpt

http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44394_2.phpt?view=markup&rev=1.1
Index: php-src/ext/standard/tests/general_functions/bug44394_2.phpt
+++ php-src/ext/standard/tests/general_functions/bug44394_2.phpt



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

Reply via email to