From a1b131545aeb67349b066c1eece7e9bae903574c Mon Sep 17 00:00:00 2001 From: "graham.gower" Date: Fri, 4 Dec 2009 01:00:02 +0000 Subject: [PATCH] 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 --- libbb/unarchive.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2