]> Dogcows Code - chaz/tar/commitdiff
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)
* 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


No differences found
This page took 0.02135 seconds and 4 git commands to generate.