summaryrefslogtreecommitdiff
path: root/mail/mutt14/files/patch-mktemp
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2011-12-27 22:11:01 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2011-12-27 22:11:01 +0000
commit91677839a26a2f7f7fbd3cf61e91e2983492b226 (patch)
tree49ed53a6ebbea69db95993d1289ab4bd50c025a1 /mail/mutt14/files/patch-mktemp
parent- Fix *_DEPENDS (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_9_0_0'.release/9.0.0
Diffstat (limited to 'mail/mutt14/files/patch-mktemp')
-rw-r--r--mail/mutt14/files/patch-mktemp15
1 files changed, 0 insertions, 15 deletions
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);
- }
-