projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
problems restoring the history file are not signaled correctly to the calling application
[deliverable/binutils-gdb.git]
/
readline
/
readline
/
histfile.c
diff --git
a/readline/readline/histfile.c
b/readline/readline/histfile.c
index 6c3adc9bd8d5e441f095c19eeeef9bef0a2ec46c..8eb3496687577213966c55f83d2540ca49dc1f14 100644
(file)
--- a/
readline/readline/histfile.c
+++ b/
readline/readline/histfile.c
@@
-620,6
+620,7
@@
history_truncate_file (const char *fname, int lines)
if (rv != 0)
{
+ rv = errno;
if (tempname)
unlink (tempname);
history_lines_written_to_file = 0;
@@
-767,6
+768,7
@@
mmap_error:
if (rv != 0)
{
+ rv = errno;
if (tempname)
unlink (tempname);
history_lines_written_to_file = 0;
This page took
0.024707 seconds
and
4
git commands to generate.