aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNotZed <NotZed@HelixCode.com>2000-05-13 05:51:58 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-05-13 05:51:58 +0800
commit9268ab3217531bdd5ca478d71f678ad7093516eb (patch)
tree62e21145ae4e05a1abff98ac7ce367f5deb16efe
parentf592943afc133057eed67539ae9eb0fe1848fd37 (diff)
downloadgsoc2013-evolution-9268ab3217531bdd5ca478d71f678ad7093516eb.tar.gz
gsoc2013-evolution-9268ab3217531bdd5ca478d71f678ad7093516eb.tar.zst
gsoc2013-evolution-9268ab3217531bdd5ca478d71f678ad7093516eb.zip
Use 6 X's to mkstemp, as required by the man page, just a temp fix, this
2000-05-12 NotZed <NotZed@HelixCode.com> * mail-ops.c (fetch_mail): Use 6 X's to mkstemp, as required by the man page, just a temp fix, this should probably change to a known filename. svn path=/trunk/; revision=3007
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-ops.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 120674ed6a..2817bf6bc6 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2000-05-12 NotZed <NotZed@HelixCode.com>
+
+ * mail-ops.c (fetch_mail): Use 6 X's to mkstemp, as required by
+ the man page, just a temp fix, this should probably change to a
+ known filename.
+
2000-05-11 Dan Winship <danw@helixcode.com>
* folder-browser-factory.c (control_activate): Now that we depend
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 5c68337f52..1d97d0b1ca 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -106,7 +106,7 @@ fetch_mail (GtkWidget *button, gpointer user_data)
char *tmp_mbox, *source;
int tmpfd;
- tmp_mbox = g_strdup_printf ("%s/movemail.XXXX", path);
+ tmp_mbox = g_strdup_printf ("%s/movemail.XXXXXX", path);
#ifdef HAVE_MKSTEMP
tmpfd = mkstemp (tmp_mbox);
#else