From owner-cvs-all@FreeBSD.ORG Sat May 10 06:57:05 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 121101065672; Sat, 10 May 2008 06:57:05 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 007B78FC13; Sat, 10 May 2008 06:57:05 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m4A6v45M095060; Sat, 10 May 2008 06:57:04 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4A6v4FY095059; Sat, 10 May 2008 06:57:04 GMT (envelope-from kientzle) Message-Id: <200805100657.m4A6v4FY095059@repoman.freebsd.org> From: Tim Kientzle Date: Sat, 10 May 2008 06:57:04 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/lib/libarchive archive_write_set_format_ar.c archive_write_set_format_cpio.c archive_write_set_format_cpio_newc.c archive_write_set_format_shar.c archive_write_set_format_ustar.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, 10 May 2008 06:57:05 -0000 kientzle 2008-05-10 06:57:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive archive_write_set_format_ar.c archive_write_set_format_cpio.c archive_write_set_format_cpio_newc.c archive_write_set_format_shar.c archive_write_set_format_ustar.c Log: MFC: Set the archive format code and name in the generic portion of the archive structure, not the write-specific portion. (This is a bungle from back when the generic and write-specific portions were first separated and the write-specific part accidentally ended up with copies of some of the generic fields.) In particular, archive_format() and archive_format_name() now work correctly on write handles. Revision Changes Path 1.3.4.2 +6 -6 src/lib/libarchive/archive_write_set_format_ar.c 1.11.2.3 +2 -2 src/lib/libarchive/archive_write_set_format_cpio.c 1.1.4.3 +2 -2 src/lib/libarchive/archive_write_set_format_cpio_newc.c 1.18.2.1 +4 -4 src/lib/libarchive/archive_write_set_format_shar.c 1.24.2.2 +2 -2 src/lib/libarchive/archive_write_set_format_ustar.c