Revert HISTFILE. If anyone wants a differently named history file, they
authordownsj <downsj@openbsd.org>
Thu, 2 Jan 1997 18:16:52 +0000 (18:16 +0000)
committerdownsj <downsj@openbsd.org>
Thu, 2 Jan 1997 18:16:52 +0000 (18:16 +0000)
can set it in their environment.

bin/ksh/history.c
bin/pdksh/history.c

index 295f108..9ed1811 100644 (file)
@@ -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
 #  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
index 295f108..9ed1811 100644 (file)
@@ -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
 #  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