summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-01-02 18:16:53 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-01-02 18:16:53 +0000
commit612e0de905e8a2a1054a4da205f407794718388c (patch)
tree8611a3804f07eb6a685e2bea7d4596e40f6b8b61
parent74d4acb857a4e4d527832644e13ae4165485c4c3 (diff)
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