]> Dogcows Code - chaz/tar/commit
Fix multivolume archive creation when volume length=record size.
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 24 Jul 2008 18:16:08 +0000 (18:16 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 24 Jul 2008 18:16:08 +0000 (18:16 +0000)
commit3af9cc0f1550e8c882f1a017727d41b54674c2d5
tree0c2e02b402efb2b7cfc81ab5efb1e46b88f41c4c
parentc9a7297a8a135c0afd8f984b91578a822ba3b04c
Fix multivolume archive creation when volume length=record size.

* src/tar.c (decode_options): Do not allow volume length less
than record size.
* src/buffer.c (_gnu_flush_write): Compensate for the effect
of eventual flush_archive occurring in the middle of buffer
move.
Increment records_written only if _flush_write was able to write
something.
* tests/multiv06.at: New testcase.
* tests/Makefile.am, test/testsuite.at: Add tests/multiv06.at
ChangeLog
src/buffer.c
src/create.c
src/tar.c
tests/Makefile.am
tests/multiv06.at [new file with mode: 0644]
tests/testsuite.at
This page took 0.023577 seconds and 4 git commands to generate.