git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for minix filesystem (RHBZ#576689).
[libguestfs.git]
/
fish
/
fish.c
diff --git
a/fish/fish.c
b/fish/fish.c
index
32d6f9f
..
2022ee3
100644
(file)
--- a/
fish/fish.c
+++ b/
fish/fish.c
@@
-28,6
+28,7
@@
#include <assert.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/wait.h>
+#include <locale.h>
#ifdef HAVE_LIBREADLINE
#include <readline/readline.h>
#ifdef HAVE_LIBREADLINE
#include <readline/readline.h>
@@
-1304,7
+1305,11
@@
cleanup_readline (void)
}
close (fd);
}
close (fd);
+#ifdef HAVE_APPEND_HISTORY
(void) append_history (nr_history_lines, histfile);
(void) append_history (nr_history_lines, histfile);
+#else
+ (void) write_history (histfile);
+#endif
}
#endif
}
}
#endif
}