|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-10-12 06:02 UTC] derick@php.net
[2006-10-20 02:19 UTC] hiroaki dot kawai at gmail dot com
[2006-10-20 08:46 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 01:00:01 2025 UTC |
Description: ------------ While compiling xdebug.c, ifdef ZEND_ENGINE_2, compilation fails. /var/tmp/reproduce/xdebug-2.0.0RC1/xdebug.c: In function `zm_post_zend_deactivate_xdebug': /var/tmp/reproduce/xdebug-2.0.0RC1/xdebug.c:771: syntax error before `*' /var/tmp/reproduce/xdebug-2.0.0RC1/xdebug.c:817: `orig' undeclared (first use in this function) /var/tmp/reproduce/xdebug-2.0.0RC1/xdebug.c:817: (Each undeclared identifier is reported only once /var/tmp/reproduce/xdebug-2.0.0RC1/xdebug.c:817: for each function it appears in.) *** Error code 1 Stop in /var/tmp/reproduce/xdebug-2.0.0RC1. Expected result: ---------------- This patch will fix the problem. --- xdebug.c 2006-10-09 05:54:14.000000000 +0900 +++ xdebug.c.new 2006-10-12 17:37:07.170136000 +0900 @@ -763,12 +763,13 @@ #ifdef ZEND_ENGINE_2 ZEND_MODULE_POST_ZEND_DEACTIVATE_D(xdebug) { + zend_function *orig; TSRMLS_FETCH(); #else PHP_RSHUTDOWN_FUNCTION(xdebug) { -#endif zend_function *orig; +#endif xdebug_llist_destroy(XG(stack), NULL); XG(stack) = NULL;