mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-05 03:10:50 +02:00
commit bash-20200131 snapshot
This commit is contained in:
@@ -640,6 +640,7 @@ history_truncate_file (const char *fname, int lines)
|
||||
|
||||
if (rv != 0)
|
||||
{
|
||||
rv = errno;
|
||||
if (tempname)
|
||||
unlink (tempname);
|
||||
history_lines_written_to_file = 0;
|
||||
@@ -787,6 +788,7 @@ mmap_error:
|
||||
|
||||
if (rv != 0)
|
||||
{
|
||||
rv = errno;
|
||||
if (tempname)
|
||||
unlink (tempname);
|
||||
history_lines_written_to_file = 0;
|
||||
|
||||
Reference in New Issue
Block a user