]> Dogcows Code - chaz/tar/commit - src/list.c
Read POSIX multivolume archives split at the header boundary.
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 25 Jan 2010 15:03:28 +0000 (17:03 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 25 Jan 2010 15:03:28 +0000 (17:03 +0200)
commitc3fa22fc8023ad21ad32b13f934c3324756c9236
tree648712f793412878e6391a0a1d939cafd42fca2d
parent706bd019158e8e1213520b1de521eab83332762d
Read POSIX multivolume archives split at the header boundary.

* src/common.h (read_header_mode): New enum.
(read_header): Change type of the 3rd argument.
* src/list.c (read_header): Change type of the 3rd argument.
All callers updated.
* src/buffer.c (try_new_volume): Allow for volumes split at the
extended/ustar header boundary. This is against POSIX specs, but
we must be able to read such archives anyway.

* tests/multiv07.at: New test case.
* tests/Makefile.am: Add multiv07.at
* tests/testsuite.at: Likewise.

* src/compare.c: Update calls to read_header.
* src/delete.c: Likewise.
* src/update.c: Likewise.
src/buffer.c
src/common.h
src/compare.c
src/delete.c
src/list.c
src/update.c
tests/Makefile.am
tests/multiv07.at [new file with mode: 0644]
tests/testsuite.at
This page took 0.031139 seconds and 4 git commands to generate.