]> diplodocus.org Git - nmh/blobdiff - sbr/m_tmpfil.c
Just reworded the bit about '%s' being safe not to quote (it's only safe not to
[nmh] / sbr / m_tmpfil.c
index 1b4f3549153bc553323d6fc3fb18bdbfe2b39ece..bac70b0a5bfbeaf032414fe085a64a65d8938b2e 100644 (file)
@@ -14,7 +14,15 @@ m_tmpfil (char *template)
     static char tmpfil[BUFSIZ];
 
     snprintf (tmpfil, sizeof(tmpfil), "/tmp/%sXXXXXX", template);
+/*
+  Mkstemp work postponed until later -Doug
+#ifdef HAVE_MKSTEMP
+    unlink(mkstemp(tmpfil));
+#else
+*/
     unlink(mktemp(tmpfil));
-
+/*
+#endif
+*/
     return tmpfil;
 }