1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00

zsh-workers/10006

This commit is contained in:
Tanaka Akira 2000-03-08 07:43:37 +00:00
parent 42a779d5c2
commit 1b5252bf38
2 changed files with 6 additions and 1 deletions

View file

@ -1091,7 +1091,12 @@ gettempname(void)
if (!(s = getsparam("TMPPREFIX")))
s = DEFAULT_TMPPREFIX;
#ifdef HAVE__MKTEMP
/* Zsh uses mktemp() safely, so silence the warnings */
return ((char *) _mktemp(dyncat(unmeta(s), "XXXXXX")));
#else
return ((char *) mktemp(dyncat(unmeta(s), "XXXXXX")));
#endif
}
/* Check if a string contains a token */

View file

@ -813,7 +813,7 @@ AC_CHECK_FUNCS(lchown memcpy memmove \
nis_list initgroups fchdir cap_get_proc readlink nice \
getgrgid getgrnam getpwent getpwnam getpwuid setpgrp \
inet_aton inet_pton inet_ntop getipnodebyname gethostbyname2 \
fseeko ftello mmap munmap msync ftruncate setlocale)
fseeko ftello mmap munmap msync ftruncate setlocale _mktemp)
dnl ---------------
dnl CHECK FUNCTIONS