mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
41d9a6e080
PR: 15665 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
21 lines
467 B
Plaintext
21 lines
467 B
Plaintext
--- libmutt/rfc1524.c.orig Fri Jan 3 23:18:25 1997
|
|
+++ libmutt/rfc1524.c Thu Dec 23 05:14:52 1999
|
|
@@ -455,7 +455,7 @@
|
|
if (s[0] == '\0')
|
|
{
|
|
snprintf (s, l, "%s/muttXXXXXX", buf);
|
|
- mktemp (s);
|
|
+ mkstemp (s);
|
|
}
|
|
else
|
|
{
|
|
@@ -466,7 +466,7 @@
|
|
if ((period = strrchr (tmp, '.')) != NULL)
|
|
*period = 0;
|
|
snprintf (s, l, "%s/%s.XXXXXX", buf, tmp);
|
|
- mktemp (s);
|
|
+ mkstemp (s);
|
|
if (period != NULL)
|
|
{
|
|
*period = '.';
|