Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/ksh ksh: Drop support for systems without mmap(2)
details: https://anonhg.NetBSD.org/src/rev/d30a2332b4d4
branches: trunk
changeset: 354624:d30a2332b4d4
user: kamil <kamil%NetBSD.org@localhost>
date: Thu Jun 22 23:54:13 2017 +0000
description:
ksh: Drop support for systems without mmap(2)
diffstat:
bin/ksh/conf-end.h | 10 +++-------
bin/ksh/config.h | 5 +----
2 files changed, 4 insertions(+), 11 deletions(-)
diffs (47 lines):
diff -r 7624d87a63f7 -r d30a2332b4d4 bin/ksh/conf-end.h
--- a/bin/ksh/conf-end.h Thu Jun 22 23:50:24 2017 +0000
+++ b/bin/ksh/conf-end.h Thu Jun 22 23:54:13 2017 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: conf-end.h,v 1.2 1997/01/12 19:11:43 tls Exp $ */
+/* $NetBSD: conf-end.h,v 1.3 2017/06/22 23:54:13 kamil Exp $ */
/*
* End of configuration stuff for PD ksh.
*
- * RCSid: $NetBSD: conf-end.h,v 1.2 1997/01/12 19:11:43 tls Exp $
+ * RCSid: $NetBSD: conf-end.h,v 1.3 2017/06/22 23:54:13 kamil Exp $
*/
#if defined(EMACS) || defined(VI)
@@ -17,11 +17,7 @@
# define HISTORY
#endif /* EDIT */
-/*
- * if you don't have mmap() you can't use Peter Collinson's history
- * mechanism. If that is the case, then define EASY_HISTORY
- */
-#if defined(HISTORY) && (!defined(COMPLEX_HISTORY) || !defined(HAVE_MMAP) || !defined(HAVE_FLOCK))
+#if defined(HISTORY) && (!defined(COMPLEX_HISTORY) || !defined(HAVE_FLOCK))
# undef COMPLEX_HISTORY
# define EASY_HISTORY /* sjg's trivial history file */
#endif
diff -r 7624d87a63f7 -r d30a2332b4d4 bin/ksh/config.h
--- a/bin/ksh/config.h Thu Jun 22 23:50:24 2017 +0000
+++ b/bin/ksh/config.h Thu Jun 22 23:54:13 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: config.h,v 1.31 2017/06/22 23:50:24 kamil Exp $ */
+/* $NetBSD: config.h,v 1.32 2017/06/22 23:54:13 kamil Exp $ */
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader. */
@@ -14,9 +14,6 @@
/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef gid_t */
-/* Define if you have a working `mmap' system call. */
-#define HAVE_MMAP 1
-
/* Define if your struct stat has st_rdev. */
#define HAVE_ST_RDEV 1
Home |
Main Index |
Thread Index |
Old Index