mike                                     Tue, 24 May 2011 05:06:53 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=311375

Log:
MFH: Fix Bug #54727, a re-incarnation of #26862

Bugs: http://bugs.php.net/54727 (Closed) ob_flush() before 
output_reset_rewrite_vars() results in data loss
      http://bugs.php.net/26862 (Closed) ob_flush() doesn't output last two 
chars
      
Changed paths:
    U   php/php-src/branches/PHP_5_4/ext/standard/url_scanner_ex.c
    U   php/php-src/branches/PHP_5_4/ext/standard/url_scanner_ex.re

Modified: php/php-src/branches/PHP_5_4/ext/standard/url_scanner_ex.c
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/url_scanner_ex.c  2011-05-24 
01:56:29 UTC (rev 311374)
+++ php/php-src/branches/PHP_5_4/ext/standard/url_scanner_ex.c  2011-05-24 
05:06:53 UTC (rev 311375)
@@ -1,4 +1,4 @@
-/* Generated by re2c 0.13.5 on Mon May 31 11:07:50 2010 */
+/* Generated by re2c 0.13.5 on Mon May 23 12:29:55 2011 */
 #line 1 "ext/standard/url_scanner_ex.re"
 /*
   +----------------------------------------------------------------------+
@@ -1012,7 +1012,7 @@
                        ctx->result.len = 0;
                        smart_str_free(&ctx->buf);
                } else {
-                       *handled_output = NULL;
+                       *handled_output = estrndup(output, *handled_output_len 
= output_len);
                }
        } else {
                *handled_output = NULL;

Modified: php/php-src/branches/PHP_5_4/ext/standard/url_scanner_ex.re
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/url_scanner_ex.re 2011-05-24 
01:56:29 UTC (rev 311374)
+++ php/php-src/branches/PHP_5_4/ext/standard/url_scanner_ex.re 2011-05-24 
05:06:53 UTC (rev 311375)
@@ -450,7 +450,7 @@
                        ctx->result.len = 0;
                        smart_str_free(&ctx->buf);
                } else {
-                       *handled_output = NULL;
+                       *handled_output = estrndup(output, *handled_output_len 
= output_len);
                }
        } else {
                *handled_output = NULL;

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

Reply via email to