X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0ccd1945560c715e4cc4063209bd0d68b75d5470..20fe3a947f2305fb271a811d50f8a7d263511ee7:/sbr/m_scratch.c diff --git a/sbr/m_scratch.c b/sbr/m_scratch.c index e29b10a0..70a2c920 100644 --- a/sbr/m_scratch.c +++ b/sbr/m_scratch.c @@ -15,11 +15,17 @@ m_scratch (char *file, char *template) static char buffer[BUFSIZ], tmpfil[BUFSIZ]; snprintf (tmpfil, sizeof(tmpfil), "%sXXXXXX", template); +/* + Mkstemp work postponed until later -Doug #ifdef HAVE_MKSTEMP mkstemp (tmpfil); #else +*/ mktemp (tmpfil); +/* #endif +*/ + /* nasty - this really means: if there is no '/' in the path */ if ((cp = r1bindex (file, '/')) == file) strncpy (buffer, tmpfil, sizeof(buffer)); else