Edit report at https://bugs.php.net/bug.php?id=60978&edit=1
ID: 60978 Updated by: larue...@php.net Reported by: the...@php.net Summary: exit code incorrect -Status: Assigned +Status: Closed Type: Bug Package: Scripting Engine problem Operating System: Windows PHP Version: 5.4.0RC7 Assigned To: laruence Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2012-03-02 03:25:35] larue...@php.net Automatic comment from SVN on behalf of laruence Revision: http://svn.php.net/viewvc/?view=revision&revision=323771 Log: MFH: Fixed bug #60978 (exit code incorrect) ------------------------------------------------------------------------ [2012-02-08 03:10:57] larue...@php.net fixed in trunk, and also "make it works" in 5.4 , I will close this after I ci the final fix to 5.4(as long as 5.4.0 release) ------------------------------------------------------------------------ [2012-02-08 03:03:08] larue...@php.net Automatic comment from SVN on behalf of laruence Revision: http://svn.php.net/viewvc/?view=revision&revision=323120 Log: Revert -r319102 and -r322922 in 5.4 branch since they introduce #60978 Fixed #60978 in trunk without reverting previous fix #see http://news.php.net/php.internals/57789 ------------------------------------------------------------------------ [2012-02-06 09:57:29] larue...@php.net I think a appropriate way to fix these issues(memleak, xdebug, this issue) is catch->efree->throw. I have made a patch. Derick, what do you think? ------------------------------------------------------------------------ [2012-02-06 09:55:47] larue...@php.net The following patch has been added/updated: Patch Name: wrong_exit_code.patch Revision: 1328522147 URL: https://bugs.php.net/patch-display.php?bug=60978&patch=wrong_exit_code.patch&revision=1328522147 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=60978 -- Edit this bug report at https://bugs.php.net/bug.php?id=60978&edit=1