diff options
Diffstat (limited to 'testing/libarchive/sparse-file.patch')
-rw-r--r-- | testing/libarchive/sparse-file.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/libarchive/sparse-file.patch b/testing/libarchive/sparse-file.patch new file mode 100644 index 000000000..e7d3e473b --- /dev/null +++ b/testing/libarchive/sparse-file.patch @@ -0,0 +1,13 @@ +Index: libarchive/archive_write_set_format_pax.c +=================================================================== +--- libarchive/archive_write_set_format_pax.c (revision 4094) ++++ libarchive/archive_write_set_format_pax.c (working copy) +@@ -1647,7 +1647,7 @@ + return (total); + + p = ((const unsigned char *)buff) + total; +- ws = s; ++ ws = s - total; + if (ws > pax->sparse_list->remaining) + ws = pax->sparse_list->remaining; + |