Re: solution for UIDs bigger than 2^31

Michal Hlavinka <[email protected]>
Newsgroups gmane.mail.squirrelmail.devel
Message-ID <[email protected]>
one note... in patch for 1.4 there is wrongly specified tag @since 1.5.3 
instead of 1.4.18
(squirrelmail/functions/global.php, on the top of the patch)

Michal Hlavinka wrote:
> Hi,
>
> all patches, we were talking about are ready (attached).
>
> patches are against 1.4 svn and 1.5 svn (yesterday)
> In the end, I've used conversion to string in both of them. Only 1.4 
> contains
> additional conversion in sources of delete_and_next plugin to float
> to perform arithmetic operations.
>
> I've tested both of them with dovecot and manually created messages 
> with high
> uids. Both versions were working on systems with 64bit php, both of them
> resulted with imap error on 32 bit system.
>
> Now both of them works on 64 and 32 bit systems. I've checked this 
> functions:
> send email (created email got big uid from dovecot) - successfully 
> stored in Sent and readable
> move emails between folders
> next & prev
> delete and next & delete and prev
> delete email
> forward
> edit
> view header
> forward as attachment and read both email and the attachment in Sent 
> folder
>
> Both patches has only changes to the code text for changelog/other 
> document is missing.
>
> Regards,
>
> Michal Hlavinka
>


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.