configure, configure.in stamp-h.in, and uip/Makefile.in modified to fix
[mmh] / sbr / m_scratch.c
index e29b10a..d712576 100644 (file)
@@ -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