From owner-cvs-src@FreeBSD.ORG Wed Dec 22 00:01:56 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AB6816A4CE; Wed, 22 Dec 2004 00:01:56 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA92243D41; Wed, 22 Dec 2004 00:01:55 +0000 (GMT) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iBM01tYd089466; Wed, 22 Dec 2004 00:01:55 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iBM01trs089465; Wed, 22 Dec 2004 00:01:55 GMT (envelope-from kientzle) Message-Id: <200412220001.iBM01trs089465@repoman.freebsd.org> From: Tim Kientzle Date: Wed, 22 Dec 2004 00:01:55 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/lib/libarchive Makefile archive.h.in archive_entry.c archive_private.h archive_read_extract.c archive_read_support_format_tar.c archive_string.h archive_string_sprintf.c archive_write.3 archive_write.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2004 00:01:56 -0000 kientzle 2004-12-22 00:01:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) lib/libarchive Makefile archive.h.in archive_entry.c archive_private.h archive_read_extract.c archive_read_support_compression_compress.c archive_read_support_format_tar.c archive_string.h archive_string_sprintf.c archive_write.3 archive_write.c archive_write_open_fd.c archive_write_open_file.c archive_write_set_compression_bzip2.c archive_write_set_compression_gzip.c archive_write_set_compression_none.c archive_write_set_format_cpio.c archive_write_set_format_pax.c archive_write_set_format_shar.c archive_write_set_format_ustar.c Log: MFC: Synchronize libarchive with -current. Among other fixes: * Corrected handling of write errors, use consistent error return values throughout. * Correct assembly/disassembly of major/minor device numbers so that very large minor numbers don't result in incorrect major numbers. * Allow tar format to read a non-existent file. (It will be treated as empty.) This allows bsdtar -r/-u to work with empty files. * Update some comments/documentation, prune out some dead code, other minor changes. Revision Changes Path 1.20.2.2 +3 -2 src/lib/libarchive/Makefile 1.17.2.1 +1 -0 src/lib/libarchive/archive.h.in 1.23.2.1 +2 -2 src/lib/libarchive/archive_entry.c 1.15.2.1 +1 -1 src/lib/libarchive/archive_private.h 1.33.2.3 +1 -0 src/lib/libarchive/archive_read_extract.c 1.2.2.1 +11 -6 src/lib/libarchive/archive_read_support_compression_compress.c 1.26.2.2 +9 -3 src/lib/libarchive/archive_read_support_format_tar.c 1.3.2.1 +0 -5 src/lib/libarchive/archive_string.h 1.4.2.2 +0 -13 src/lib/libarchive/archive_string_sprintf.c 1.7.2.1 +7 -7 src/lib/libarchive/archive_write.3 1.12.2.1 +4 -1 src/lib/libarchive/archive_write.c 1.3.2.1 +7 -2 src/lib/libarchive/archive_write_open_fd.c 1.7.2.1 +7 -2 src/lib/libarchive/archive_write_open_file.c 1.5.2.1 +28 -19 src/lib/libarchive/archive_write_set_compression_bzip2.c 1.7.2.1 +29 -20 src/lib/libarchive/archive_write_set_compression_gzip.c 1.5.2.1 +18 -10 src/lib/libarchive/archive_write_set_compression_none.c 1.4.2.1 +9 -9 src/lib/libarchive/archive_write_set_format_cpio.c 1.17.2.2 +24 -22 src/lib/libarchive/archive_write_set_format_pax.c 1.10.2.1 +109 -58 src/lib/libarchive/archive_write_set_format_shar.c 1.11.2.1 +4 -4 src/lib/libarchive/archive_write_set_format_ustar.c