From dc3caf92e7c2f377f07ab19488795d7058cf3964 Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Tue, 16 Dec 2014 16:02:24 -0600 Subject: [PATCH] Use a ProDOS-compatible filename for saved history file on GNO. --- shell/hush.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/shell/hush.c b/shell/hush.c index d5bc27a6f..3fad8daa1 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -8639,8 +8639,13 @@ int hush_main(int argc, char **argv) const char *hp = get_local_var_value("HISTFILE"); if (!hp) { hp = get_local_var_value("HOME"); - if (hp) + if (hp) { +# ifndef __GNO__ hp = concat_path_file(hp, ".hush_history"); +# else + hp = concat_path_file(hp, "hushhistory"); +# endif + } } else { hp = xstrdup(hp); }