projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use mkstemp on systems that have it
[mmh]
/
uip
/
mshcmds.c
diff --git
a/uip/mshcmds.c
b/uip/mshcmds.c
index
fcdd5e1
..
a665536
100644
(file)
--- a/
uip/mshcmds.c
+++ b/
uip/mshcmds.c
@@
-932,7
+932,11
@@
forwcmd (char **args)
/* foil search of .mh_profile */
snprintf (buf, sizeof(buf), "%sXXXXXX", invo_name);
+#ifdef HAVE_MKSTEMP
+ vec[0] = (char *)mkstemp (buf);
+#else
vec[0] = (char *)mktemp (buf);
+#endif
vec[vecp++] = "-file";
vec[vecp] = NULL;
if (!msgp)