Re: [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]

 



On 11/14/2011 01:40 PM, Chris Lumens wrote:
---
  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__,

Ack.

--
David Cantrell <dcantrell@xxxxxxxxxx>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT

_______________________________________________
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