|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-03-21 03:33 UTC] cataphract@php.net
-Status: Open
+Status: Bogus
[2011-03-21 03:33 UTC] cataphract@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 20:00:01 2025 UTC |
Description: ------------ in the file $PHP_PREFIX/include/php/ext/standard/php_smart_str.h ,line 52, should have a pointer conversion. now the code is below: #define SMART_STR_DO_REALLOC(d, what) \ (d)->c = SMART_STR_REALLOC((d)->c, (d)->a + 1, (what)) but any extensions include it cann't be compiled before change the code above like this, no matter the compiler is visual studio(2005 or 2008) or gcc: #define SMART_STR_DO_REALLOC(d, what) \ (d)->c = (char*) SMART_STR_REALLOC((d)->c, (d)->a + 1, (what)) everytime I change it myself.But event the newest PHP 5.3.6, the pointer conversion is still absent.