X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fspost.c;h=c5b27a08b6f0f051cc6bc32f41d30cee21354417;hp=58d4ae39259c5df7fd911c3511239ca58a9b59c1;hb=0ccd1945560c715e4cc4063209bd0d68b75d5470;hpb=fd96433a81a97a1e2d8667c7087693e94706807d diff --git a/uip/spost.c b/uip/spost.c index 58d4ae3..c5b27a0 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);