|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-07-27 04:43 UTC] soporte at onfocus dot cl
Description: ------------ Hi: runkit does not currently build against php 5.2RC1 Reproduce code: --------------- rebuild it without sandboxing. Expected result: ---------------- compile as always.. Actual result: -------------- /usr/src/packages/BUILD/runkit-0.9/runkit_import.c: In function 'php_runkit_import_class_props': /usr/src/packages/BUILD/runkit-0.9/runkit_import.c:230: warning: passing argument 2 of 'zend_unmangle_property_name' makes integer from pointer without a cast /usr/src/packages/BUILD/runkit-0.9/runkit_import.c:230: error: too few arguments to function 'zend_unmangle_property_name' make: *** [runkit_import.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.88475 (%build) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 09:00:02 2025 UTC |
The following patch makes Runkit compile, but I'm not so sure of its correctness: --- runkit-0.9-orig/runkit_import.c 2006-06-07 00:06:08.000000000 +0300 +++ runkit-0.9/runkit_import.c 2006-11-09 15:30:47.000000000 +0200 @@ -227,7 +227,7 @@ char *cname = NULL, *pname = key; #ifdef ZEND_ENGINE_2 - zend_unmangle_property_name(key, &cname, &pname); + zend_unmangle_property_name(key, key_len, &cname, &pname); #endif if (zend_hash_exists(&dce->default_properties, key, key_len)) { if (override) {