diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-03-18 17:42:28 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-03-18 17:42:28 +0000 |
commit | 8db88a679997418f39984af821ddb2a7f9538c9c (patch) | |
tree | c24b4ca3a9898d4de965e8e3a796f0f8e7da7d7d /gnu/lib/libreadline/histfile.c | |
parent | c5208e263e5c2cbb0bdf5b552fae16589f570167 (diff) |
Local patches:
remove bogus savestring prototype that conflicts with gdb (and is not used)
fix a typo in sgtty code (not that we use it but...)
treat empty environment variables as unset
Diffstat (limited to 'gnu/lib/libreadline/histfile.c')
-rw-r--r-- | gnu/lib/libreadline/histfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/libreadline/histfile.c b/gnu/lib/libreadline/histfile.c index b908e2261f8..c5f33ad9127 100644 --- a/gnu/lib/libreadline/histfile.c +++ b/gnu/lib/libreadline/histfile.c @@ -96,7 +96,7 @@ history_filename (filename) home = get_env_value ("HOME"); - if (home == 0) + if (home == 0 || *home == '\0') { home = "."; home_len = 1; |