Date: Tue, 26 Jun 2007 03:06:48 +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 archive_read_open_fd.c archive_read_open_file.c archive_read_open_filename.c Message-ID: <200706260306.l5Q36nnn063248@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2007-06-26 03:06:48 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_open_fd.c archive_read_open_file.c archive_read_open_filename.c Log: Fix 'bsdtar -t' on tape drives. Libarchive uses the skip() callback to skip over data when reading uncompressed archives. This gets invoked, for example, during tar -t or tar -x with a filename argument. The revised code only calls [lf]seek() on regular files, instead of depending on the kernel to return an error. Thanks to: bde for explaining the implementation of lseek() Thanks to: Daniel O'Connor for testing Approved by: re (Ken Smith) MFC after: 5 days Revision Changes Path 1.13 +13 -2 src/lib/libarchive/archive_read_open_fd.c 1.20 +18 -8 src/lib/libarchive/archive_read_open_file.c 1.20 +14 -2 src/lib/libarchive/archive_read_open_filename.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706260306.l5Q36nnn063248>