Date: Sat, 7 Aug 2004 19:22:51 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libarchive Makefile archive.h.in archive_read.3 archive_read.c archive_write.3 archive_write.c Message-ID: <200408071922.i77JMp1c072413@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408071922.i77JMp1c072413>
