Bug #66907 [Com]: Solaris 10 is missing strcasestr and needs substitute
| From: | rainer dot jung at kippdata dot de | Date: | Sat, 03 May 2014 08:58:12 +0000 |
| Subject: | Bug #66907 [Com]: Solaris 10 is missing strcasestr and needs substitute | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-185595@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66907&edit=1
ID: 66907
Comment by: rainer dot jung at kippdata dot de
Reported by: dam at opencsw dot org
Summary: Solaris 10 is missing strcasestr and needs
substitute
Status: Closed
Type: Bug
Package: Compile Failure
Operating System: Solaris
PHP Version: 5.6.0alpha3
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
Tested with PHP 5.6.0 beta 2.
Looks OK except for a minor bug in upstream code: strcasestr.c on Solaris needs stdint.h.
Reported upstream as
http://bugs.gw.com/view.php?id=350
Patch suggested there is:
--- src/strcasestr.c 2013-12-05 17:57:50.000000000 +0100
+++ src/strcasestr.c 2014-05-03 10:46:57.529254000 +0200
@@ -39,6 +39,9 @@
#include <assert.h>
#include <ctype.h>
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
#include <string.h>
static int
I hope it will be included in file 5.19.
Previous Comments:
------------------------------------------------------------------------
[2014-05-01 14:59:25] tyrael@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=aaf197180a47d3fe9dfc8a25acdf89c0a7bca059
Log: Fixed bug #66907 Solaris 10 is missing strcasestr and needs substitute
------------------------------------------------------------------------
[2014-04-20 18:39:54] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=aaf197180a47d3fe9dfc8a25acdf89c0a7bca059
Log: Fixed bug #66907 Solaris 10 is missing strcasestr and needs substitute
------------------------------------------------------------------------
[2014-04-20 18:38:40] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=aaf197180a47d3fe9dfc8a25acdf89c0a7bca059
Log: Fixed bug #66907 Solaris 10 is missing strcasestr and needs substitute
------------------------------------------------------------------------
[2014-04-15 17:26:54] ab@php.net
@ dam at opencsw dot org
@ rainer dot jung at kippdata dot de
Please test this on solaris as i still had no chance to test it there.
Thanks
------------------------------------------------------------------------
[2014-04-15 17:25:28] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=aaf197180a47d3fe9dfc8a25acdf89c0a7bca059
Log: Fixed bug #66907 Solaris 10 is missing strcasestr and needs substitute
------------------------------------------------------------------------
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=66907
--
Edit this bug report at https://bugs.php.net/bug.php?id=66907&edit=1