diff options
Diffstat (limited to 'Src/utils.c')
-rw-r--r-- | Src/utils.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Src/utils.c b/Src/utils.c index 1bd4afeca..6bede2e43 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -1101,15 +1101,12 @@ gettempname(void) if (!(s = getsparam("TMPPREFIX"))) s = DEFAULT_TMPPREFIX; -#ifdef HAVE_MKSTEMP - ret = ((char *) mkstemp(dyncat(unmeta(s), "XXXXXX"))); #ifdef HAVE__MKTEMP /* Zsh uses mktemp() safely, so silence the warnings */ ret = ((char *) _mktemp(dyncat(unmeta(s), "XXXXXX"))); #else ret = ((char *) mktemp(dyncat(unmeta(s), "XXXXXX"))); #endif -#endif unqueue_signals(); return ret; |