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