X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fm_tmpfil.c;fp=sbr%2Fm_tmpfil.c;h=bac70b0a5bfbeaf032414fe085a64a65d8938b2e;hp=31bce67a876bac4452da4c9a7d546c4dd833beff;hb=045b9601403a216c400642229f2b291f85f88f7d;hpb=17e31955aca3a425a3c6d6fc128f6648f9550369 diff --git a/sbr/m_tmpfil.c b/sbr/m_tmpfil.c index 31bce67..bac70b0 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; }