From: Sergey Poznyakoff Date: Thu, 24 Jul 2008 18:16:08 +0000 (+0000) Subject: Fix multivolume archive creation when volume length=record size. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=3af9cc0f1550e8c882f1a017727d41b54674c2d5;hp=3af9cc0f1550e8c882f1a017727d41b54674c2d5;p=chaz%2Ftar 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 ---