Bug #66909 [Opn->Csd]: configure fails utf8_to_mutf7 test
| From: | ab@php.net | Date: | Wed, 09 Dec 2015 11:07:01 +0000 |
| Subject: | Bug #66909 [Opn->Csd]: configure fails utf8_to_mutf7 test | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-197732@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66909&edit=1
ID: 66909
Updated by: ab@php.net
Reported by: mdwong at honolulu dot gov
Summary: configure fails utf8_to_mutf7 test
-Status: Open
+Status: Closed
Type: Bug
Package: *Configuration Issues
PHP Version: 5.5.10
-Assigned To:
+Assigned To: ab
Block user comment: N
Private report: N
New Comment:
Merged in 24f21a30121b24a74f9cc0fd4a4cb0541ad8f520.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2015-11-09 17:18:28] michael at orlitzky dot com
https://github.com/php/php-src/pull/1627
------------------------------------------------------------------------
[2015-11-09 16:33:28] michael at orlitzky dot com
We've seen this problem on Gentoo as well. I believe it is the root cause of this bug report,
https://bugs.gentoo.org/show_bug.cgi?id=376735
and that the submitter's diagnosis is correct. In utf8aux.h we can clearly see,
unsigned char *utf8_to_mutf7 (unsigned char *src);
------------------------------------------------------------------------
[2014-03-14 22:29:50] mdwong at honolulu dot gov
Description:
------------
testing for IMAP, configure calls utf8_to_mutf7() with no argument, causing a core dump in Linux on
S/390 IFL. utf8_to_mutf7() requires one argument. Editing configure to this fixes the problem:
char utf8_to_mutf7();
char testarg[20];
strcpy (testarg, "");
int main() {
utf8_to_mutf7(testarg);
return 0;
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66909&edit=1