Bug #62357 [Fbk->Csd]: compile failure: (S) Arguments missing for built-in function __memcmp.
Edit report at https://bugs.php.net/bug.php?id=62357&edit=1
ID: 62357
Updated by: laruence@php.net
Reported by: mamfelt at gmail dot com
Summary: compile failure: (S) Arguments missing for built-in
function __memcmp.
-Status: Feedback
+Status: Closed
Type: Bug
Package: Compile Failure
Operating System: AIX
PHP Version: 5.4.4
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-06-26 10:51:12] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=a44a1dc194e60c51a4b7716f78f34a7dc334744b
Log: Fixed bug #62357 (compile failure: (S) Arguments missing for built-in function __memcmp).
------------------------------------------------------------------------
[2012-06-26 10:45:53] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=a44a1dc194e60c51a4b7716f78f34a7dc334744b
Log: Fixed bug #62357 (compile failure: (S) Arguments missing for built-in function __memcmp).
------------------------------------------------------------------------
[2012-06-25 05:54:23] laruence@php.net
sorry, the line was broken, I attached the patch, please try with the attachment..
thanks
------------------------------------------------------------------------
[2012-06-25 05:53:36] laruence@php.net
The following patch has been added/updated:
Patch Name: bug62357.patch
Revision: 1340603615
URL: https://bugs.php.net/patch-display.php?bug=62357&patch=bug62357.patch&revision=1340603615
------------------------------------------------------------------------
[2012-06-25 05:52:39] laruence@php.net
Hi:
could you please try with this patch?
--- zend_language_parser.c 2012-06-25 13:52:20.000000000 +0800
+++ zend_language_parser.c.new 2012-06-25 13:52:08.000000000 +0800
@@ -6041,7 +6041,7 @@
if (LANG_SCNG(yy_text)[0] == 0 &&
LANG_SCNG(yy_leng) == 1 &&
- memcmp(yystr, ZEND_STRL("\"end of file\"")) ==
0) {
+ memcmp(yystr, "\"end of file\"", sizeof("\"end
of file\"") - 1) == 0) {
yystpcpy(yyres, "end of file");
return sizeof("end of file")-1;
}
------------------------------------------------------------------------
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=62357
--
Edit this bug report at https://bugs.php.net/bug.php?id=62357&edit=1
Thread (5 messages)