~vcs-imports/tar/trunk

Viewing all changes in revision 2779.

  • Committer: Sergey Poznyakoff
  • Date: 2015-04-16 10:02:10 UTC
  • Revision ID: git-v1:15c02c2b9d383446b3ea35dbea5a048e136b020d
Fix extraction from concatenated incremental archives.

* src/common.h (remove_delayed_set_stat): New proto.
* src/extract.c (free_delayed_set_stat)
(remove_delayed_set_stat): New function.
(apply_nonancestor_delayed_set_stat): Use free_delayed_set_stat.
* src/misc.c (safer_rmdir): Remove delayed_set_stat entry
corresponding to the removed directory.
* tests/incr10.at: New test case.
* tests/Makefile.am: Add new test.
* tests/testsuite.at: Likewise.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: