Somebody reported a problem with "download attachments" under Solaris. As I
have access to a Solaris box running sqwebmail-3.4.0.20021124, I thought I'd
investigate.

It does indeed demonstrate a problem: trying to download a large AVI file, I
only got the first 393 bytes. The byte at offset 393 was 'FF', the first FF
in the file.

The problem appears to be this line in sqwebmail/folder.c download_func:

                if (putchar(*p++) == EOF)

However, a current version of sqwebmail (3.5.3) has this instead:

                if (putchar((int)(unsigned char)*p++) == EOF)

So, can the person who reported there being a problem try an up-to-date
version of sqwebmail and see if it works correctly now?

[As an aside: could this list be moved somewhere that has an archive?]

Cheers,

Brian.

Reply via email to