#40595 [NEW]: IMAP extension: utf8_mime2text() has wrong parameters

Ask a Question related to PHP Bugs, Design and Development.

  1. #1

    Default #40595 [NEW]: IMAP extension: utf8_mime2text() has wrong parameters

    From: perske at uni-muenster dot de
    Operating system: Independent
    PHP version: 5.2.1
    PHP Bug Type: Compile Failure
    Bug description: IMAP extension: utf8_mime2text() has wrong parameters

    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 bug report at [url]http://bugs.php.net/?id=40595&edit=1[/url]
    --
    Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40595&r=trysnapshot44[/url]
    Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40595&r=trysnapshot52[/url]
    Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40595&r=trysnapshot60[/url]
    Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40595&r=fixedcvs[/url]
    Fixed in release: [url]http://bugs.php.net/fix.php?id=40595&r=alreadyfixed[/url]
    Need backtrace: [url]http://bugs.php.net/fix.php?id=40595&r=needtrace[/url]
    Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40595&r=needscript[/url]
    Try newer version: [url]http://bugs.php.net/fix.php?id=40595&r=oldversion[/url]
    Not developer issue: [url]http://bugs.php.net/fix.php?id=40595&r=support[/url]
    Expected behavior: [url]http://bugs.php.net/fix.php?id=40595&r=notwrong[/url]
    Not enough info: [url]http://bugs.php.net/fix.php?id=40595&r=notenoughinfo[/url]
    Submitted twice: [url]http://bugs.php.net/fix.php?id=40595&r=submittedtwice[/url]
    register_globals: [url]http://bugs.php.net/fix.php?id=40595&r=globals[/url]
    PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40595&r=php3[/url]
    Daylight Savings: [url]http://bugs.php.net/fix.php?id=40595&r=dst[/url]
    IIS Stability: [url]http://bugs.php.net/fix.php?id=40595&r=isapi[/url]
    Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40595&r=gnused[/url]
    Floating point limitations: [url]http://bugs.php.net/fix.php?id=40595&r=float[/url]
    No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40595&r=nozend[/url]
    MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40595&r=mysqlcfg[/url]
    perske at uni-muenster dot de Guest

  2. Similar Questions and Discussions

    1. #40595 [Opn->Bgs]: IMAP extension: utf8_mime2text() has wrong parameters
      ID: 40595 Updated by: tony2001@php.net Reported By: perske at uni-muenster dot de -Status: Open +Status: ...
    2. #34163 [Bgs]: text relocation when building imap extension
      ID: 34163 User updated by: selsky at columbia dot edu Reported By: selsky at columbia dot edu Status: Bogus Bug...
    3. #40420 [NEW]: --with-imap fails for imap-2004g from University of Washington IMAP toolkit
      From: romanf at trash dot net Operating system: Suse Linux 10.0 64bit PHP version: 5.2.1 PHP Bug Type: Compile Failure Bug...
    4. Configuring the IMAP extension
      I'm trying to get a PHP-based webmail setup going, but I'm running into a problem with IMAP authentication. Specifically, the PHP IMAP extension...
    5. net::imap extension
      hi rubyists! I recently made a small web-interface to some mail administration, it was a small and easy operation with the kind help ruby :) ...
  3. #2

    Default #40595 [Bgs->Csd]: IMAP extension: utf8_mime2text() has wrong parameters

    ID: 40595
    User updated by: perske at uni-muenster dot de
    Reported By: perske at uni-muenster dot de
    -Status: Bogus
    +Status: Closed
    Bug Type: Compile Failure
    -Operating System: Independent
    +Operating System: AIX
    PHP Version: 5.2.1
    New Comment:

    Sorry! My mistake! configure detected this wrong.
    Because my system (AIX with IBM compiler) is explicitly
    unsupported, this is not a bug of PHP.

    (When checking for utf8_mime2text signature, compiling with
    "cc_r -c -I/www/imap/include conftest.c" ended with exit
    code zero although there was an error message. This misdirectored
    configure that only looks at the exit code, and misdirected me, too.
    Please apologize.)


    Previous Comments:
    ------------------------------------------------------------------------

    [2007-02-22 18:55:46] [email]tony2001@php.net[/email]
    >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)


    ------------------------------------------------------------------------

    [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 [url]http://bugs.php.net/?id=40595&edit=1[/url]
    perske at uni-muenster dot de Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139