From owner-cvs-src@FreeBSD.ORG Sun Nov 26 19:23:29 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A953416A492; Sun, 26 Nov 2006 19:23:28 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 580414400E; Sun, 26 Nov 2006 19:08:18 +0000 (GMT) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kAQJ0o9d011723; Sun, 26 Nov 2006 19:00:50 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kAQJ0oFU011722; Sun, 26 Nov 2006 19:00:50 GMT (envelope-from kientzle) Message-Id: <200611261900.kAQJ0oFU011722@repoman.freebsd.org> From: Tim Kientzle Date: Sun, 26 Nov 2006 19:00:50 +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 Makefile archive.h.in archive_read.3 archive_write.3 archive_write.c archive_write_open_fd.c archive_write_open_file.c archive_write_open_filename.c archive_write_open_memory.c archive_write_set_compression_none.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 26 Nov 2006 19:23:29 -0000 kientzle 2006-11-26 19:00:50 UTC FreeBSD src repository Modified files: lib/libarchive Makefile archive.h.in archive_read.3 archive_write.3 archive_write.c archive_write_open_fd.c archive_write_open_file.c archive_write_open_filename.c archive_write_open_memory.c archive_write_set_compression_none.c Log: Write-blocking cleanup, largely thanks to Colin Percival (cperciva@). * If write block size is zero, don't block at all. This supports the unusual requirement of applications that need "no-delay" writes. * Expose _write_finish_entry() to give such applications more control over write boundaries. (Normal applications do not need this, as entries are completed automatically.) * Correct the type of write callbacks; this is a minor API change that does not affect the ABI. * Correct the error handling in _write_next_header() around completing the previous entry. * Correct the documentation for block-size markers: Remove docs for the long-defunct _read_set_block_size(); document all of the write block size manipulators. MFC after: 14 days Revision Changes Path 1.56 +3 -1 src/lib/libarchive/Makefile 1.34 +2 -1 src/lib/libarchive/archive.h.in 1.27 +0 -8 src/lib/libarchive/archive_read.3 1.18 +24 -0 src/lib/libarchive/archive_write.3 1.22 +25 -8 src/lib/libarchive/archive_write.c 1.8 +2 -2 src/lib/libarchive/archive_write_open_fd.c 1.18 +2 -2 src/lib/libarchive/archive_write_open_file.c 1.17 +2 -2 src/lib/libarchive/archive_write_open_filename.c 1.2 +2 -2 src/lib/libarchive/archive_write_open_memory.c 1.10 +29 -8 src/lib/libarchive/archive_write_set_compression_none.c