summaryrefslogtreecommitdiff
path: root/openbsd-compat/mktemp.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-01-07 15:18:32 +1100
committerDamien Miller <djm@mindrot.org>2003-01-07 15:18:32 +1100
commite832819cf7289b467070fc31c5080c133f0a101e (patch)
tree5c0cfb811b429cd71c551dda025442f16ccd7114 /openbsd-compat/mktemp.h
parent48cb8aa935211ff95ff62267a799d3548df442d4 (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.h')
-rw-r--r--openbsd-compat/mktemp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsd-compat/mktemp.h b/openbsd-compat/mktemp.h
index 6a96f6fa6..505ca6a1f 100644
--- a/openbsd-compat/mktemp.h
+++ b/openbsd-compat/mktemp.h
@@ -1,13 +1,13 @@
1/* $Id: mktemp.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */ 1/* $Id: mktemp.h,v 1.3 2003/01/07 04:18:33 djm Exp $ */
2 2
3#ifndef _BSD_MKTEMP_H 3#ifndef _BSD_MKTEMP_H
4#define _BSD_MKTEMP_H 4#define _BSD_MKTEMP_H
5 5
6#include "config.h" 6#include "config.h"
7#ifndef HAVE_MKDTEMP 7#if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP)
8int mkstemps(char *path, int slen); 8int mkstemps(char *path, int slen);
9int mkstemp(char *path); 9int mkstemp(char *path);
10char *mkdtemp(char *path); 10char *mkdtemp(char *path);
11#endif /* !HAVE_MKDTEMP */ 11#endif /* !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP) */
12 12
13#endif /* _BSD_MKTEMP_H */ 13#endif /* _BSD_MKTEMP_H */