From owner-svn-src-head@FreeBSD.ORG Wed May 13 00:04:08 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A185B1065673; Wed, 13 May 2009 00:04:08 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 906AA8FC08; Wed, 13 May 2009 00:04:08 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4D048xx036585; Wed, 13 May 2009 00:04:08 GMT (envelope-from kientzle@svn.freebsd.org) Received: (from kientzle@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4D048Aw036584; Wed, 13 May 2009 00:04:08 GMT (envelope-from kientzle@svn.freebsd.org) Message-Id: <200905130004.n4D048Aw036584@svn.freebsd.org> From: Tim Kientzle Date: Wed, 13 May 2009 00:04:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r192031 - head/lib/libarchive X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2009 00:04:09 -0000 Author: kientzle Date: Wed May 13 00:04:08 2009 New Revision: 192031 URL: http://svn.freebsd.org/changeset/base/192031 Log: Eliminate duplicate error messages from "tar c". Reported by: pav@ Modified: head/lib/libarchive/archive_read_disk_entry_from_file.c Modified: head/lib/libarchive/archive_read_disk_entry_from_file.c ============================================================================== --- head/lib/libarchive/archive_read_disk_entry_from_file.c Tue May 12 23:22:58 2009 (r192030) +++ head/lib/libarchive/archive_read_disk_entry_from_file.c Wed May 13 00:04:08 2009 (r192031) @@ -92,6 +92,7 @@ archive_read_disk_entry_from_file(struct int initial_fd = fd; int r, r1; + archive_clear_error(_a); path = archive_entry_sourcepath(entry); if (path == NULL) path = archive_entry_pathname(entry);