Use a ProDOS-compatible filename for saved history file on GNO.

This commit is contained in:
Stephen Heumann 2014-12-16 16:02:24 -06:00
parent f873a5cb9f
commit dc3caf92e7

View File

@ -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);
}