projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
elf: Don't merge .note.gnu.property section in IR
[binutils-gdb.git]
/
readline
/
tilde.c
diff --git
a/readline/tilde.c
b/readline/tilde.c
index 3788eba628a8ee863e4b1a600b6125be3f1ddff5..d4c1da9e68d0a599e176ab8eabf8bac40ac4ffc9 100644
(file)
--- a/
readline/tilde.c
+++ b/
readline/tilde.c
@@
-360,8
+360,8
@@
tilde_expand_word (filename)
{
/* Prefix $HOME to the rest of the string. */
expansion = sh_get_env_value ("HOME");
-#if
defined (_WIN32)
- if (
expansion == 0
)
+#if
def _WIN32
+ if (
!expansion
)
expansion = sh_get_env_value ("APPDATA");
#endif