]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Merge r192031 from FreeBSD-CURRENT: Eliminate redundant error messages.
authorTim Kientzle <kientzle@gmail.com>
Sun, 19 Jul 2009 08:38:38 +0000 (04:38 -0400)
committerTim Kientzle <kientzle@gmail.com>
Sun, 19 Jul 2009 08:38:38 +0000 (04:38 -0400)
SVN-Revision: 1243

libarchive/archive_read_disk_entry_from_file.c

index 6cd967cf3fd1ed8be879f855b2e934232fa38701..6ebd67384d6e7ab0694f60906c5cd7c0a3dce9c9 100644 (file)
@@ -92,6 +92,7 @@ archive_read_disk_entry_from_file(struct archive *_a,
        int initial_fd = fd;
        int r, r1;
 
+       archive_clear_error(_a);
        path = archive_entry_sourcepath(entry);
        if (path == NULL)
                path = archive_entry_pathname(entry);