]> Dogcows Code - chaz/tar/commit
tar: extract permissions for . last
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Sep 2010 19:25:55 +0000 (12:25 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Sep 2010 19:28:25 +0000 (12:28 -0700)
commit6e08ab76949954eccd059db0d5da90e011a11c27
tree616e934688f9ea4e461836a1ed55060d05a65f19
parentcecb7ac8e63ff65eb73dd098796e56e0a17a3259
tar: extract permissions for . last

* src/common.h (must_be_dot_or_slash): New decl.
* src/extract.c (mark_after_links): New function, taking code
that used to be in create_placeholder_file.
(create_placeholder_file): Use it.
(delay_set_stat): Always delay setting status for . and /.
* src/misc.c (must_be_dot_or_slash): Now extern.
* tests/extrac12.at: New file.
* tests/Makefile.am (TESTSUITE_AT): Add it.
* tests/testsuite.at: Likewise.
src/common.h
src/extract.c
src/misc.c
tests/Makefile.am
tests/extrac12.at [new file with mode: 0644]
tests/testsuite.at
This page took 0.024627 seconds and 4 git commands to generate.