From owner-cvs-all@FreeBSD.ORG Sat Aug 7 19:22:51 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 356EA16A4CE; Sat, 7 Aug 2004 19:22:51 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B43043D31; Sat, 7 Aug 2004 19:22:51 +0000 (GMT) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i77JMpWo072414; Sat, 7 Aug 2004 19:22:51 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i77JMp1c072413; Sat, 7 Aug 2004 19:22:51 GMT (envelope-from kientzle) Message-Id: <200408071922.i77JMp1c072413@repoman.freebsd.org> From: Tim Kientzle Date: Sat, 7 Aug 2004 19:22:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libarchive Makefile archive.h.in archive_read.3 archive_read.c archive_write.3 archive_write.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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 Aug 2004 19:22:51 -0000 kientzle 2004-08-07 19:22:51 UTC FreeBSD src repository Modified files: lib/libarchive Makefile archive.h.in archive_read.3 archive_read.c archive_write.3 archive_write.c Log: Split archive_{read,write}_finish into separate "close" (finish the archive and close it) and "finish" (destroy the object) functions. For backwards compat and simplicity, have "finish" invoke "close" transparently if needed. This allows clients to close the archive and check end-of-operation statistics before destroying the object. Revision Changes Path 1.19 +5 -4 src/lib/libarchive/Makefile 1.17 +10 -4 src/lib/libarchive/archive.h.in 1.11 +8 -2 src/lib/libarchive/archive_read.3 1.11 +18 -6 src/lib/libarchive/archive_read.c 1.7 +9 -3 src/lib/libarchive/archive_write.3 1.10 +17 -3 src/lib/libarchive/archive_write.c