mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
a89a57bd0b
PR: ports/18497 Submitted by: Yoichi ASAI <yatt@msc.biglobe.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 = '.';
|