diff options
author | Tim Kientzle <kientzle@gmail.com> | 2010-02-25 11:58:00 -0500 |
---|---|---|
committer | Tim Kientzle <kientzle@gmail.com> | 2010-02-25 11:58:00 -0500 |
commit | d75d45bfa46cdd187e64c3332bbeead5b324e6a9 (patch) | |
tree | 09d8240cd20261cbeb43f6d2898f7c7c4dce0f1e /libarchive/archive_util.c | |
parent | 5cd1e030b1b5fe9889aba8d39d260c4435c05309 (diff) | |
download | libarchive-d75d45bfa46cdd187e64c3332bbeead5b324e6a9.tar.gz |
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
Diffstat (limited to 'libarchive/archive_util.c')
-rw-r--r-- | libarchive/archive_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libarchive/archive_util.c b/libarchive/archive_util.c index 4cf4de6f..fde9bbd8 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 |