Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2009 00:04:08 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192031 - head/lib/libarchive
Message-ID:  <200905130004.n4D048Aw036584@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905130004.n4D048Aw036584>