Sorry, gives me exactly the same gif. Any other ideas? / Paul

On Nov 2, 2003, at 18:14, Brian Candler wrote:

On Sun, Nov 02, 2003 at 05:54:56PM +0100, Paul Diaconescu wrote:
Ok, attaching output. I get a corrupt gif file now instead of a 1 byte
file. I did a clean install and changed the mime.type file. I don't
have any output in error.log - recompiling with the patch right now.

Now, that's more interesting. You're getting 164 bytes of the GIF; and the
164th byte is 255, which looks like it's being interpreted as end-of-file.
This is the same problem as before.


It's a Solaris bug if putchar(255) returns -1. However, perhaps the casts of
char -> unsigned char -> int are being optimised out.


Try the attached patch and see if that fixes it.

Regards,

Brian.
<ert>




Reply via email to