<<< Date Index >>>     <<< Thread Index >>>

IMAP on 32 bit architectures broken on CVS HEAD



Hello,
for people having trouble with CVS HEAD and IMAP. This is a quick fix.
This or another fix will be comittet later.

The problem is.

imap/message.c on 32 bit archs thinks ssize_t is 4 bytes. But the rest
of the mutt code thinks it is 8 bytes which breaks IMAP.

we should be sure, that mutt.h is the first file which gets included on
every file.

Thanks a lot to Heiko Heil for helping me to trap this bug down.

Sincerely,
        Thomas
Index: imap/message.c
===================================================================
RCS file: /home/roessler/cvs/mutt/imap/message.c,v
retrieving revision 3.14
diff -u -r3.14 message.c
--- imap/message.c      31 Jan 2005 02:40:14 -0000      3.14
+++ imap/message.c      31 Jan 2005 22:00:10 -0000
@@ -19,10 +19,11 @@
 
 /* message parsing/updating functions */
 
+#include "mutt.h"
+
 #include <stdlib.h>
 #include <ctype.h>
 
-#include "mutt.h"
 #include "mutt_curses.h"
 #include "imap_private.h"
 #include "message.h"