From b80064cbb9898918e6563795d0233e58fde5e7a6 Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Thu, 8 Jul 2010 07:37:32 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'RELEASE_8_1_0'. --- mail/mutt14/files/patch-mktemp | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 mail/mutt14/files/patch-mktemp (limited to 'mail/mutt14/files/patch-mktemp') diff --git a/mail/mutt14/files/patch-mktemp b/mail/mutt14/files/patch-mktemp deleted file mode 100644 index 8fc82de528d7..000000000000 --- a/mail/mutt14/files/patch-mktemp +++ /dev/null @@ -1,15 +0,0 @@ ---- muttlib.c.orig Fri May 7 17:30:35 2004 -+++ muttlib.c Fri May 7 17:32:13 2004 -@@ -656,7 +656,11 @@ - - void mutt_mktemp (char *s) - { -- snprintf (s, _POSIX_PATH_MAX, "%s/mutt-%s-%d-%d", NONULL (Tempdir), NONULL(Hostname), (int) getpid (), Counter++); -+ char t[7]; -+ snprintf (t, 7, "-%05d", Counter++); -+ snprintf (s, _POSIX_PATH_MAX-6, "%s/mutt-%s-XXXXXXXX", NONULL(Tempdir), NONULL(Hostname)); -+ mktemp (s); -+ strncat(s, t, 6); - unlink (s); - } - -- cgit v1.2.3