1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/japanese/mutt/files/patch-ak
Kirill Ponomarev f2c177d47a - Update to version 1.4.2.1
PR:		ports/65447
Submitted by:	maintainer
2004-04-12 06:02:24 +00:00

13 lines
382 B
Plaintext

--- muttlib.c.orig Mon Feb 9 08:25:28 2004
+++ muttlib.c Mon Feb 9 08:32:46 2004
@@ -656,7 +656,8 @@
void mutt_mktemp (char *s)
{
- snprintf (s, _POSIX_PATH_MAX, "%s/mutt-%s-%d-%d", NONULL (Tempdir), NONULL(Hostname), (int) getpid (), Counter++);
+ snprintf (s, _POSIX_PATH_MAX, "%s/mutt-%s-XXXXXXXX", NONULL(Tempdir), NONULL(Hostname));
+ mkstemp (s);
unlink (s);
}