From: Colin Leroy Date: Sun, 13 Aug 2006 21:48:32 +0000 (+0000) Subject: 2006-08-13 [colin] 2.4.0cvs45 X-Git-Tag: rel_2_5_0~180 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=af31c57507b498d00364c9f4034e4e6afc2997f8 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. --- diff --git a/ChangeLog b/ChangeLog index 78266ed5f..5a94dda55 100644 --- 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 diff --git a/PATCHSETS b/PATCHSETS index 784cd8480..a14a989cd 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -1736,3 +1736,4 @@ ( 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 diff --git a/configure.ac b/configure.ac index c0f2957f3..2d5583d62 100644 --- a/configure.ac +++ b/configure.ac @@ -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= diff --git a/src/common/utils.c b/src/common/utils.c index 7f75728b2..22bfea1cc 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -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);