Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/tools/compat Pull up revision 1.18 (requested by thorpe...
details: https://anonhg.NetBSD.org/src/rev/99cd9024deb6
branches: netbsd-1-6
changeset: 529587:99cd9024deb6
user: he <he%NetBSD.org@localhost>
date: Sat Nov 30 15:10:12 2002 +0000
description:
Pull up revision 1.18 (requested by thorpej in ticket #807):
o Check for mkstemp() and mkdtemp(), and build them into
libcompat if necessary.
o mktemp is now a host-tool, so remove the now obsoleted
script.
diffstat:
tools/compat/compat_defs.h | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 234aaf1c8d81 -r 99cd9024deb6 tools/compat/compat_defs.h
--- a/tools/compat/compat_defs.h Sat Nov 30 14:58:56 2002 +0000
+++ b/tools/compat/compat_defs.h Sat Nov 30 15:10:12 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_defs.h,v 1.15.2.1 2002/11/03 16:41:02 he Exp $ */
+/* $NetBSD: compat_defs.h,v 1.15.2.2 2002/11/30 15:10:12 he Exp $ */
#ifndef __NETBSD_COMPAT_DEFS_H__
#define __NETBSD_COMPAT_DEFS_H__
@@ -190,6 +190,19 @@
((u_int64_t)bswap32((x) >> 32)))
#endif
+#if !HAVE_MKSTEMP
+int mkstemp(char *);
+#endif
+
+#if !HAVE_MKDTEMP
+char *mkdtemp(char *);
+#endif
+
+#if !HAVE_MKSTEMP || !HAVE_MKDTEMP
+/* This is a prototype for the internal function. */
+int gettemp(char *, int *, int);
+#endif
+
#if !HAVE_PREAD
ssize_t pread(int, void *, size_t, off_t);
#endif
Home |
Main Index |
Thread Index |
Old Index