Date: Mon, 18 Jun 2007 00:36:54 +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_filename.c Message-ID: <200706180036.l5I0asac023540@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2007-06-18 00:36:54 UTC
FreeBSD src repository
Modified files:
lib/libarchive archive_read_open_fd.c
archive_read_open_filename.c
Log:
Track whether the current read stream supports seek(). For now, we
assume yes unless seek has previously failed, but I fear I'll have to
avoid seeks under other circumstances. (For instance, tape drives on
FreeBSD seem to return garbage from lseek().) Also, optimize away
zero-byte skips.
Revision Changes Path
1.12 +11 -0 src/lib/libarchive/archive_read_open_fd.c
1.19 +11 -0 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?200706180036.l5I0asac023540>
