diff options
author | Damien Miller <djm@mindrot.org> | 2003-01-07 15:18:32 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-01-07 15:18:32 +1100 |
commit | e832819cf7289b467070fc31c5080c133f0a101e (patch) | |
tree | 5c0cfb811b429cd71c551dda025442f16ccd7114 /openbsd-compat/mktemp.c | |
parent | 48cb8aa935211ff95ff62267a799d3548df442d4 (diff) |
- (djm) Bug #26: Use local mkstemp() rather than glibc's silly one. Fixes
Can't pass KRB4 TGT passing. Fix from: jan.iven@cern.ch
Diffstat (limited to 'openbsd-compat/mktemp.c')
-rw-r--r-- | openbsd-compat/mktemp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/mktemp.c b/openbsd-compat/mktemp.c index d256ee44..c951050c 100644 --- a/openbsd-compat/mktemp.c +++ b/openbsd-compat/mktemp.c @@ -36,7 +36,7 @@ #include "includes.h" -#ifndef HAVE_MKDTEMP +#if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP) #if defined(LIBC_SCCS) && !defined(lint) static char rcsid[] = "$OpenBSD: mktemp.c,v 1.16 2002/05/27 18:20:45 millert Exp $"; @@ -181,4 +181,4 @@ _gettemp(path, doopen, domkdir, slen) /*NOTREACHED*/ } -#endif /* !HAVE_MKDTEMP */ +#endif /* !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP) */ |