From 9268ab3217531bdd5ca478d71f678ad7093516eb Mon Sep 17 00:00:00 2001 From: NotZed Date: Fri, 12 May 2000 21:51:58 +0000 Subject: Use 6 X's to mkstemp, as required by the man page, just a temp fix, this 2000-05-12 NotZed * 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 --- mail/ChangeLog | 6 ++++++ mail/mail-ops.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'mail') 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 + + * 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 * 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 -- cgit