Module Name: src
Committed By: kamil
Date: Thu Jun 22 23:54:13 UTC 2017
Modified Files:
src/bin/ksh: conf-end.h config.h
Log Message:
ksh: Drop support for systems without mmap(2)
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/bin/ksh/conf-end.h
cvs rdiff -u -r1.31 -r1.32 src/bin/ksh/config.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/ksh/conf-end.h
diff -u src/bin/ksh/conf-end.h:1.2 src/bin/ksh/conf-end.h:1.3
--- src/bin/ksh/conf-end.h:1.2 Sun Jan 12 19:11:43 1997
+++ src/bin/ksh/conf-end.h Thu Jun 22 23:54:13 2017
@@ -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
Index: src/bin/ksh/config.h
diff -u src/bin/ksh/config.h:1.31 src/bin/ksh/config.h:1.32
--- src/bin/ksh/config.h:1.31 Thu Jun 22 23:50:24 2017
+++ src/bin/ksh/config.h Thu Jun 22 23:54:13 2017
@@ -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