Bug #66909 [Com]: configure fails utf8_to_mutf7 test
Edit report at https://bugs.php.net/bug.php?id=66909&edit=1
ID: 66909
Comment by: michael at orlitzky dot com
Reported by: mdwong at honolulu dot gov
Summary: configure fails utf8_to_mutf7 test
Status: Open
Type: Bug
Package: *Configuration Issues
PHP Version: 5.5.10
Block user comment: N
Private report: N
New Comment:
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);
Previous Comments:
------------------------------------------------------------------------
[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
Thread (4 messages)