]> Dogcows Code - chaz/tar/commit
Automatic detection of seekable archives.
authorSergey Poznyakoff <gray@gnu.org.ua>
Tue, 8 Sep 2009 07:27:57 +0000 (10:27 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 8 Sep 2009 07:27:57 +0000 (10:27 +0300)
commitcef4d5e83830763a1acd5d603fb62a356df27299
treeb54fc346e5d728c40909fa55e924586ce4d55f1a
parentba954ea1e1576505f2e0ce3efdbed9025739121d
Automatic detection of seekable archives.

* src/buffer.c (guess_seekable_archive): New function.
(_open_archive): Call guess_seekable_archive for archives
open for reading.
(new_volume): Likewise.
* src/common.h (seek_option): New global.
* src/tar.c (options): New option --no-seek.
(parse_opt): --seek and --no-seek set seek_option,
not seekable_archive.
(decode_options): Initialize seek_option to -1.

* NEWS: Update.
* doc/tar.texi: Update.
NEWS
doc/tar.texi
src/buffer.c
src/common.h
src/tar.c
This page took 0.021907 seconds and 4 git commands to generate.