[PATCH] ARCHIVE_DEFAULT_BYTES_PER_BLOCK no longer exists in libarchive-3.0.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 loader/unpack.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/loader/unpack.c b/loader/unpack.c
index f7a5777..0323d11 100644
--- a/loader/unpack.c
+++ b/loader/unpack.c
@@ -152,8 +152,7 @@ int unpack_archive_file(char *filename, char *dest) {
         return rc;
     }
 
-    rc = archive_read_open_filename(a, filename,
-                                    ARCHIVE_DEFAULT_BYTES_PER_BLOCK);
+    rc = archive_read_open_filename(a, filename, 10240);
     if (rc != ARCHIVE_OK) {
         logMessage(ERROR, "error opening %s (%s:%d): %s",
                    filename, __func__, __LINE__,
-- 
1.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux