]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Merge r1989: archive_clear_error should set errno to 0.
authorTim Kientzle <kientzle@gmail.com>
Sat, 15 Oct 2011 17:17:43 +0000 (13:17 -0400)
committerTim Kientzle <kientzle@gmail.com>
Sat, 15 Oct 2011 17:17:43 +0000 (13:17 -0400)
SVN-Revision: 3734

libarchive/archive_util.c

index c945d5fa71a36a3e458ecbcf7219c8c0febe59e5..c8156846a127fd369d594c15dd054f8cff25d6a4 100644 (file)
@@ -155,6 +155,7 @@ archive_clear_error(struct archive *a)
 {
        archive_string_empty(&a->error_string);
        a->error = NULL;
+       a->archive_error_number = 0;
 }
 
 void