From: graichen Date: Sun, 29 Dec 1996 12:24:05 +0000 (+0000) Subject: change the name of the history file from .pdksh_hist to .ksh_history X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c7e19bded13922bd168d315113befcc9bd8a87cf;p=openbsd change the name of the history file from .pdksh_hist to .ksh_history this way it is clearer where it comes from (pdksh is ksh in OpenBSD) and it's more consistent with other shells (bash - .bash_history and i think FreeBSD's sh also used something like .sh_history) --- diff --git a/bin/ksh/history.c b/bin/ksh/history.c index d1126f005bd..0ed6ee708f6 100644 --- a/bin/ksh/history.c +++ b/bin/ksh/history.c @@ -1,4 +1,4 @@ -/* $OpenBSD: history.c,v 1.1.1.1 1996/08/14 06:19:11 downsj Exp $ */ +/* $OpenBSD: history.c,v 1.2 1996/12/29 12:24:05 graichen Exp $ */ /* * command history @@ -26,9 +26,11 @@ # ifndef HISTFILE # ifdef OS2 # define HISTFILE "history.ksh" -# else /* OS2 */ +# elif __OpenBSD__ /* OS2 */ +# define HISTFILE ".ksh_history" +# else /* __OpenBSD__ */ # define HISTFILE ".pdksh_hist" -# endif /* OS2 */ +# endif /* OS2 and __OpenBSD__ */ # endif # else diff --git a/bin/pdksh/history.c b/bin/pdksh/history.c index d1126f005bd..0ed6ee708f6 100644 --- a/bin/pdksh/history.c +++ b/bin/pdksh/history.c @@ -1,4 +1,4 @@ -/* $OpenBSD: history.c,v 1.1.1.1 1996/08/14 06:19:11 downsj Exp $ */ +/* $OpenBSD: history.c,v 1.2 1996/12/29 12:24:05 graichen Exp $ */ /* * command history @@ -26,9 +26,11 @@ # ifndef HISTFILE # ifdef OS2 # define HISTFILE "history.ksh" -# else /* OS2 */ +# elif __OpenBSD__ /* OS2 */ +# define HISTFILE ".ksh_history" +# else /* __OpenBSD__ */ # define HISTFILE ".pdksh_hist" -# endif /* OS2 */ +# endif /* OS2 and __OpenBSD__ */ # endif # else