From owner-cvs-all@FreeBSD.ORG Sat Apr 7 03:38:00 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6D43916A402; Sat, 7 Apr 2007 03:38:00 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 4784313C44B; Sat, 7 Apr 2007 03:38:00 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l373c0lY009924; Sat, 7 Apr 2007 03:38:00 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l373bxLF009923; Sat, 7 Apr 2007 03:37:59 GMT (envelope-from cperciva) Message-Id: <200704070337.l373bxLF009923@repoman.freebsd.org> From: Colin Percival Date: Sat, 7 Apr 2007 03:37:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libarchive archive_read_extract.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 03:38:00 -0000 cperciva 2007-04-07 03:37:59 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_extract.c Log: When copying data from one archive to another, only set the error message in the reader to the error message from the writer if the error which occurred was in the writer. This avoids error messages of "Empty error message" when extracting truncated archives. Revision Changes Path 1.55 +4 -5 src/lib/libarchive/archive_read_extract.c