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
/
histfile.c
diff --git
a/readline/histfile.c
b/readline/histfile.c
index
30a6182
..
fffeb3f
100644
(file)
--- a/
readline/histfile.c
+++ b/
readline/histfile.c
@@
-123,6
+123,10
@@
history_filename (filename)
return (return_val);
home = sh_get_env_value ("HOME");
+#ifdef _WIN32
+ if (!home)
+ home = sh_get_env_value ("APPDATA");
+#endif
if (home == 0)
{