diff options
-rw-r--r-- | histfile.c | 2 | ||||
-rw-r--r-- | patchlevel | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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; @@ -1,3 +1,3 @@ # Do not edit -- exists only for use by patch -3 +4 |