#40595 [Opn->Bgs]: IMAP extension: utf8_mime2text() has wrong parameters
| From: | tony2001@php.net | Date: | Thu, 22 Feb 2007 18:55:46 +0000 |
| Subject: | #40595 [Opn->Bgs]: IMAP extension: utf8_mime2text() has wrong parameters | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-109338@lists.php.net to get a copy of this message | ||
ID: 40595
Updated by: tony2001@php.net
Reported By: perske at uni-muenster dot de
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Independent
PHP Version: 5.2.1
New Comment:
>But with the current imap2006e.tar.Z, U8T_CANONICAL is
>defined and utf8_mime2text() takes only two parameters.
That's not true.
See imap-2006e/src/c-client/utf8aux.c, line 116:
long utf8_mime2text (SIZEDTEXT *src,SIZEDTEXT *dst,long flags)
Previous Comments:
------------------------------------------------------------------------
[2007-02-22 18:26:52] perske at uni-muenster dot de
Description:
------------
Bug 37948 should be reopened:
The bugfix assumes that U8T_CANONICAL is not defined
when the old parameter count of utf8_mime2text() is
valid.
But with the current imap2006e.tar.Z, U8T_CANONICAL is
defined and utf8_mime2text() takes only two parameters.
Thus configure fails with "this cannot happen".
Supposed correction: Simple do not check for existence of
U8T_CANONICAL in configure if the old parameter count
is detected.
(I'm trying to compile PHP 5.2.1 with imap2006e.)
(After replacing all U8T_CANONICAL with XYXYXY in
configure, compilation finishes successful.)
Reproduce code:
---------------
n/a
Expected result:
----------------
n/a
Actual result:
--------------
n/a
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40595&edit=1