summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordownsj <downsj@openbsd.org>1997-01-02 18:16:52 +0000
committerdownsj <downsj@openbsd.org>1997-01-02 18:16:52 +0000
commitb66af6883a2930062ba8b17df8a7fb76825973e0 (patch)
tree9dfbccbec0a30a2bfb0dabc94779b15ea88017fa
parentDon't mention $_. (diff)
downloadwireguard-openbsd-b66af6883a2930062ba8b17df8a7fb76825973e0.tar.xz
wireguard-openbsd-b66af6883a2930062ba8b17df8a7fb76825973e0.zip
Revert HISTFILE. If anyone wants a differently named history file, they
can set it in their environment.
-rw-r--r--bin/ksh/history.c8
-rw-r--r--bin/pdksh/history.c8
2 files changed, 6 insertions, 10 deletions
diff --git a/bin/ksh/history.c b/bin/ksh/history.c
index 295f108f130..9ed181165e1 100644
--- a/bin/ksh/history.c
+++ b/bin/ksh/history.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: history.c,v 1.4 1997/01/02 17:37:26 downsj Exp $ */
+/* $OpenBSD: history.c,v 1.5 1997/01/02 18:16:52 downsj Exp $ */
/*
* command history
@@ -26,11 +26,9 @@
# ifndef HISTFILE
# ifdef OS2
# define HISTFILE "history.ksh"
-# elif __OpenBSD__ /* OS2 */
-# define HISTFILE ".ksh_history"
-# else /* __OpenBSD__ */
+# else /* OS2 */
# define HISTFILE ".pdksh_hist"
-# endif /* OS2 and __OpenBSD__ */
+# endif /* OS2 */
# endif
# else
diff --git a/bin/pdksh/history.c b/bin/pdksh/history.c
index 295f108f130..9ed181165e1 100644
--- a/bin/pdksh/history.c
+++ b/bin/pdksh/history.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: history.c,v 1.4 1997/01/02 17:37:26 downsj Exp $ */
+/* $OpenBSD: history.c,v 1.5 1997/01/02 18:16:52 downsj Exp $ */
/*
* command history
@@ -26,11 +26,9 @@
# ifndef HISTFILE
# ifdef OS2
# define HISTFILE "history.ksh"
-# elif __OpenBSD__ /* OS2 */
-# define HISTFILE ".ksh_history"
-# else /* __OpenBSD__ */
+# else /* OS2 */
# define HISTFILE ".pdksh_hist"
-# endif /* OS2 and __OpenBSD__ */
+# endif /* OS2 */
# endif
# else