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: http://git.openwrt.org/?p=project%2Fopkg-lede.git;a=commitdiff_plain;h=a1b131545aeb67349b066c1eece7e9bae903574c;hp=a19597b2beb95ac615b515607dc56490586e6222 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;