X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/2b5c5779f2eb63019446a69c3e2c6f871e71c3df..bd1e50a7d47bda4778120d39ec9d168e26d0bd9d:/uip/spost.c diff --git a/uip/spost.c b/uip/spost.c index 58d4ae39..c5b27a08 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -346,7 +346,11 @@ main (int argc, char **argv) out = stdout; } else { +#ifdef HAVE_MKSTEMP + mkstemp (tmpfil); +#else mktemp (tmpfil); +#endif if ((out = fopen (tmpfil, "w")) == NULL) adios (tmpfil, "unable to create"); chmod (tmpfil, 0600);