cvs commit: src/lib/libarchive archive_read_open_fd.c
archive_read_open_filename.c
Tim Kientzle
kientzle at FreeBSD.org
Mon Jun 18 00:36:55 UTC 2007
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
More information about the cvs-src
mailing list