]> git.proxmox.com Git - tar.git/commitdiff
Remove fix-sparse-archives.patch
authorEmmanuel Kasper <e.kasper@proxmox.com>
Tue, 19 Apr 2016 09:23:35 +0000 (11:23 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 19 Apr 2016 14:27:57 +0000 (16:27 +0200)
the issue is fixed in tar-1.27.1

Makefile
fix-sparse-archives.patch [deleted file]

index 64aa3edbddee124ea0c4537bf9dfd5e5ea762ecb..3ed2e949d109d59d65acd248317ceb0102b6676a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,6 @@ deb ${DEB}: ${TARSRC}
        echo "debian/SOURCE" >>${TARDIR}/debian/docs
        mv ${TARDIR}/debian/changelog ${TARDIR}/debian/changelog.org
        cat changelog ${TARDIR}/debian/changelog.org >${TARDIR}/debian/changelog
-       cd ${TARDIR}; patch -p1 <../fix-sparse-archives.patch
        cd ${TARDIR}; dpkg-buildpackage -b -uc -us
 
 .PHONY: upload
diff --git a/fix-sparse-archives.patch b/fix-sparse-archives.patch
deleted file mode 100644 (file)
index 8ac6066..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-See https://bugzilla.redhat.com/show_bug.cgi?id=1024268
-
---- old/src/sparse.c   2013-03-14 16:18:10.000000000 -0400
-+++ new/src/sparse.c   2013-10-28 16:50:20.966528811 -0400
-@@ -221,9 +221,13 @@ sparse_scan_file (struct tar_sparse_file
-   st->archive_file_size = 0;
-+#if 0
-+  /* this shortcut is not safe because some filesystems such as Netapp
-+     can hold small files without allocating any blocks. */
-   if (ST_NBLOCKS (st->stat) == 0)
-     offset = st->stat.st_size;
-   else
-+#endif
-     {
-       if (!tar_sparse_scan (file, scan_begin, NULL))
-       return false;