X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0ccd1945560c715e4cc4063209bd0d68b75d5470..cc6d2b40ffd2126cff8384d2c62eee44dc7b1fe1:/sbr/m_tmpfil.c diff --git a/sbr/m_tmpfil.c b/sbr/m_tmpfil.c index 31bce67a..bac70b0a 100644 --- a/sbr/m_tmpfil.c +++ b/sbr/m_tmpfil.c @@ -14,11 +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; }