summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libarchive/archive_write_set_compression_none.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libarchive/archive_write_set_compression_none.c b/lib/libarchive/archive_write_set_compression_none.c
index 44ac83e..ffb651d 100644
--- a/lib/libarchive/archive_write_set_compression_none.c
+++ b/lib/libarchive/archive_write_set_compression_none.c
@@ -143,6 +143,7 @@ archive_compressor_none_write(struct archive_write *a, const void *vbuff,
a->client_data, buff, remaining);
if (bytes_written <= 0)
return (ARCHIVE_FATAL);
+ a->archive.raw_position += bytes_written;
remaining -= bytes_written;
buff += bytes_written;
}
OpenPOWER on IntegriCloud