View | Details | Raw Unified | Return to bug 62569
Collapse All | Expand All

(-)./Makefile (+1 lines)
Lines 75-80 Link Here
75
75
76
PORTNAME=	mutt-devel
76
PORTNAME=	mutt-devel
77
PORTVERSION=	1.5.6
77
PORTVERSION=	1.5.6
78
PORTREVISION=	1
78
CATEGORIES+=	mail ipv6
79
CATEGORIES+=	mail ipv6
79
.if defined(WITH_MUTT_NNTP)
80
.if defined(WITH_MUTT_NNTP)
80
CATEGORIES+=	news
81
CATEGORIES+=	news
(-)./files/patch-mktemp (+12 lines)
Line 0 Link Here
1
--- muttlib.c.orig	Sun Feb  1 18:15:17 2004
2
+++ muttlib.c	Mon Feb  9 08:44:36 2004
3
@@ -657,7 +657,8 @@
4
 
5
 void _mutt_mktemp (char *s, const char *src, int line)
6
 {
7
-  snprintf (s, _POSIX_PATH_MAX, "%s/mutt-%s-%d-%d", NONULL (Tempdir), NONULL(Hostname), (int) getpid (), Counter++);
8
+  snprintf (s, _POSIX_PATH_MAX, "%s/mutt-%s-XXXXXXXX", NONULL(Tempdir), NONULL(Hostname));
9
+  mktemp (s);
10
   dprint (1, (debugfile, "%s:%d: mutt_mktemp returns \"%s\".\n", src, line, s));
11
   unlink (s);
12
 }

Return to bug 62569