FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 11-14-2011, 07:40 PM
David Cantrell
 
Default ARCHIVE_DEFAULT_BYTES_PER_BLOCK no longer exists in libarchive-3.0.0

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@redhat.com>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT

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

Thread Tools




All times are GMT. The time now is 12:48 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org