projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Import mkdtemp gnulib module, fix mingw build
[external/binutils.git]
/
readline
/
tilde.c
diff --git
a/readline/tilde.c
b/readline/tilde.c
index
3788eba
..
d4c1da9
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