tony2001                Fri Mar 31 11:11:26 2006 UTC

  Modified files:              
    /php-src/ext/standard       info.c 
  Log:
  MF51: fix compile failure with old GCC (see bug #36931)
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/info.c?r1=1.262&r2=1.263&diff_format=u
Index: php-src/ext/standard/info.c
diff -u php-src/ext/standard/info.c:1.262 php-src/ext/standard/info.c:1.263
--- php-src/ext/standard/info.c:1.262   Thu Mar 30 19:59:51 2006
+++ php-src/ext/standard/info.c Fri Mar 31 11:11:26 2006
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: info.c,v 1.262 2006/03/30 19:59:51 tony2001 Exp $ */
+/* $Id: info.c,v 1.263 2006/03/31 11:11:26 tony2001 Exp $ */
 
 #include "php.h"
 #include "php_ini.h"
@@ -63,10 +63,12 @@
        
 static int php_info_write_wrapper(const char *str, uint str_length)
 {
+       int new_len, written;
+       char *elem_esc;
+       
        TSRMLS_FETCH();
 
-       int new_len, written;
-       char *elem_esc = php_escape_html_entities((char *)str, str_length, 
&new_len, 0, ENT_QUOTES, NULL TSRMLS_CC);
+       elem_esc = php_escape_html_entities((char *)str, str_length, &new_len, 
0, ENT_QUOTES, NULL TSRMLS_CC);
 
        written = php_body_write(elem_esc, new_len TSRMLS_CC);
 

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

Reply via email to