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.
This commit is contained in:
Colin Leroy 2006-08-13 21:48:32 +00:00
parent 2f9a448a3a
commit af31c57507
4 changed files with 10 additions and 2 deletions

View file

@ -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

View file

@ -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

View 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=

View 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);