aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-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