diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2022-12-29 16:34:45 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2022-12-29 17:42:04 +0200 |
commit | a65f01ac35beba07525fba70dc5d3212f1a73e46 (patch) | |
tree | 42c98ee35e5a265d264c643602efab2ffde0f0e8 /tests/multiv01.at | |
parent | 2cde05fa103d892d48b09cb399e7597071722086 (diff) | |
download | tar-a65f01ac35beba07525fba70dc5d3212f1a73e46.tar.gz |
Optionally warn about missing zero blocks at the end of the archive
(In response to savannah bug #63574)
* doc/intern.texi: Document actual tar behaviour in regard to
missing end-of-file marker.
* doc/tar.texi: Rewrite the "warnings" section. Document
--warning=missing-zero-blocks
* src/common.h (WARN_MISSING_ZERO_BLOCKS): New constant.
(WARN_ALL): Include all warning bits.
* src/list.c (read_and): If EOF is reached without seeing end-of-file
blocks and the "missing-zero-blocks" warning is requested, warn about
the fact.
* src/warning.c: New warnings: "missing-zero-blocks", "verbose".
(warning_option): Change definition to reflect changes in common.h
Diffstat (limited to 'tests/multiv01.at')
0 files changed, 0 insertions, 0 deletions