From: graham.gower Date: Fri, 4 Dec 2009 01:00:02 +0000 (+0000) Subject: Ignore extraction errors, for now. Requested by Koen. X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a1b131545aeb67349b066c1eece7e9bae903574c;p=oweals%2Fopkg-lede.git Ignore extraction errors, for now. Requested by Koen. As opkg has never failed from these errors in the past, many recipes in OpenEmbedded have come to rely on this behaviour. So proceed regardless of extraction errors for now, to give the OE folks a chance to fix broken packages first. git-svn-id: http://opkg.googlecode.com/svn/trunk@445 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- diff --git a/libbb/unarchive.c b/libbb/unarchive.c index c3630b0..31c76d2 100644 --- a/libbb/unarchive.c +++ b/libbb/unarchive.c @@ -313,6 +313,7 @@ unarchive(FILE *src_stream, FILE *out_stream, buffer = extract_archive(src_stream, out_stream, file_entry, extract_function, prefix, err); + *err = 0; /* XXX: ignore extraction errors */ if (*err) { free_headers(file_entry); break;