php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3685 compile problem with the imap feature
Submitted: 2000-03-01 07:59 UTC Modified: 2000-03-03 14:22 UTC
From: u dot bernhard at zi dot unizh dot ch Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.15 OS: AIX 4.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: u dot bernhard at zi dot unizh dot ch
New email:
PHP Version: OS:

 

 [2000-03-01 07:59 UTC] u dot bernhard at zi dot unizh dot ch
Compiling php3 with the following options:
cc -O3 -ma -qstrict
fails in  functions/imap.c
a possible solution is the following patch:

*** functions/imap.c    Mon Feb 14 14:11:46 2000
--- functions/imap.c    Wed Mar  1 13:44:59 2000
***************
*** 2615,2620 ****
--- 2615,2621 ----
                        case ST_DECODE0:
                                state++;
                        case ST_NORMAL:
+                               break;
                        }
                }
        }
***************
*** 2671,2676 ****
--- 2672,2678 ----
                                *outp++ |= UNB64(*inp);
                                state = ST_DECODE0;
                        case ST_NORMAL:
+                               break;
                        }
                }
        }
***************
*** 2797,2802 ****
--- 2799,2805 ----
                                *outp++ = B64(*inp++);
                                state = ST_ENCODE0;
                        case ST_NORMAL:
+                               break;
                        }
                }
        }

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-03 14:22 UTC] sas at cvs dot php dot net
This has been committed to CVS. Thanks for the patch!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 02:01:36 2025 UTC