sync with 0.8.10
authorPaul Mangan <paul@claws-mail.org>
Tue, 4 Feb 2003 10:44:57 +0000 (10:44 +0000)
committerPaul Mangan <paul@claws-mail.org>
Tue, 4 Feb 2003 10:44:57 +0000 (10:44 +0000)
ChangeLog
ChangeLog.claws
ChangeLog.jp
configure.ac
src/procmsg.h

index a39a6ba..233faf8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-02-04
+
+       * src/procmsg.h: WRITE_CACHE_DATA(): little speed improvement
+         (thanks to Colin Leroy).
+       * src/mh.c: mh_get_msginfo(): added NULL check (thanks to Thorsten
+         Maerz).
+
 2003-02-03
 
        * src/textview.c: textview_write_line(): don't convert if conv is
index 7f7a18e..cd0400b 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-04 [paul]      0.8.9claws37
+
+       * sync with 0.8.10
+               see ChangeLog 2003-02-04
+
 2003-02-04 [paul]      0.8.9claws36
 
        * sync with 0.8.9cvs6
index 00f68fc..25da8d8 100644 (file)
@@ -1,3 +1,10 @@
+2003-02-04
+
+       * src/procmsg.h: WRITE_CACHE_DATA(): Â®ÅÙ¤ò¾¯¤·¸þ¾å(Colin Leroy
+         ¤µ¤ó thanks)¡£
+       * src/mh.c: mh_get_msginfo(): NULL ¥Á¥§¥Ã¥¯¤òÄɲÃ(Thorsten Maerz
+         ¤µ¤ó thanks)¡£
+
 2003-02-03
 
        * src/textview.c: textview_write_line(): conv ¤¬ NULL ¤Î¾ì¹ç¤Ï
index 277f6f4..60a3689 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=9
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws36
+EXTRA_VERSION=claws37
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index cd9823e..a83d947 100644 (file)
@@ -147,18 +147,19 @@ typedef enum
 #define WRITE_CACHE_DATA_INT(n, fp) \
        fwrite(&n, sizeof(n), 1, fp)
 
-#define WRITE_CACHE_DATA(data, fp) \
-{ \
-       gint len; \
- \
-       if (data == NULL || (len = strlen(data)) == 0) { \
-               len = 0; \
-               WRITE_CACHE_DATA_INT(len, fp); \
-       } else { \
-               len = strlen(data); \
-               WRITE_CACHE_DATA_INT(len, fp); \
-               fwrite(data, len, 1, fp); \
-       } \
+#define WRITE_CACHE_DATA(data, fp)                     \
+{                                                      \
+       gint len;                                       \
+                                                       \
+       if (data == NULL) {                             \
+               len = 0;                                \
+               WRITE_CACHE_DATA_INT(len, fp);          \
+       } else {                                        \
+               len = strlen(data);                     \
+               WRITE_CACHE_DATA_INT(len, fp);          \
+               if (len > 0)                            \
+                       fwrite(data, len, 1, fp);       \
+       }                                               \
 }
 
 struct _MsgFlags