(dump_regular_file): Fix file padding in case of truncation to zero size.
This commit is contained in:
@@ -1066,7 +1066,6 @@ dump_regular_file (int fd, struct tar_stat_info *st)
|
||||
return dump_status_short;
|
||||
}
|
||||
size_left -= count;
|
||||
if (count)
|
||||
set_next_block_after (blk + (bufsize - 1) / BLOCKSIZE);
|
||||
|
||||
if (count != bufsize)
|
||||
|
||||
Reference in New Issue
Block a user