From: Tim Kientzle Date: Thu, 25 Feb 2010 16:58:00 +0000 (-0500) Subject: Set archive_error_number to zero here. I'm a little uneasy about X-Git-Tag: v3.0.0a~1183 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d75d45bfa46cdd187e64c3332bbeead5b324e6a9;p=thirdparty%2Flibarchive.git Set archive_error_number to zero here. I'm a little uneasy about this, as there are apparently libarchive uers that abuse archive_errno() and this change is likely to mask bugs in such software. SVN-Revision: 1989 --- diff --git a/libarchive/archive_util.c b/libarchive/archive_util.c index 4cf4de6f7..fde9bbd86 100644 --- a/libarchive/archive_util.c +++ b/libarchive/archive_util.c @@ -161,6 +161,7 @@ archive_clear_error(struct archive *a) { archive_string_empty(&a->error_string); a->error = NULL; + a->archive_error_number = 0; } void