2006-08-13 [colin] 2.4.0cvs45
authorColin Leroy <colin@colino.net>
Sun, 13 Aug 2006 21:48:32 +0000 (21:48 +0000)
committerColin Leroy <colin@colino.net>
Sun, 13 Aug 2006 21:48:32 +0000 (21:48 +0000)
* src/common/utils.c
Fix "a" in quote when the original message is empty,
by using \0 instead of 'a' to test writability of
temp files.

ChangeLog
PATCHSETS
configure.ac
src/common/utils.c

index 78266ed5f7ddcfc0a871552796c4efc8a3f60213..5a94dda559b95a4ef9c970bc9e67d3f4759075d5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-08-13 [colin]     2.4.0cvs45
+
+       * src/common/utils.c
+               Fix "a" in quote when the original message is empty,
+               by using \0 instead of 'a' to test writability of
+               temp files.
+
 2006-08-13 [wwp]       2.4.0cvs44
 
        * src/plugins/spamassassin/spamassassin.c
index 784cd84804dd4b41b9032b7c7421b65a2fefd4d0..a14a989cd9dc0bcb51755164edd16169623a1c9e 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.2.12 -r 1.1.2.13 manual/plugins.xml;  ) > 2.4.0cvs42.patchset
 ( cvs diff -u -r 1.8.2.13 -r 1.8.2.14 src/editldap.c;  cvs diff -u -r 1.105.2.63 -r 1.105.2.64 src/prefs_account.c;  ) > 2.4.0cvs43.patchset
 ( cvs diff -u -r 1.18.2.35 -r 1.18.2.36 src/plugins/spamassassin/spamassassin.c;  ) > 2.4.0cvs44.patchset
+( cvs diff -u -r 1.36.2.73 -r 1.36.2.74 src/common/utils.c;  ) > 2.4.0cvs45.patchset
index c0f2957f3bf3e03a774c3900e29acfd7a2fccf27..2d5583d62927566aafafb06f0ca633b9281eba50 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=4
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=44
+EXTRA_VERSION=45
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 7f75728b2bde610211f25eb9a3db1cc50439cfe7..22bfea1cc3129ee056a7bb73017ba0f74e4d3318 100644 (file)
@@ -3271,7 +3271,7 @@ FILE *my_tmpfile(void)
        gchar *fname;
        gint fd;
        FILE *fp;
-       gchar buf[2]="a";
+       gchar buf[2]="\0";
 
        tmpdir = get_tmp_dir();
        tmplen = strlen(tmpdir);