]> git.cworth.org Git - tar/commit
upstream: fix bug with -C and extracting directories
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Oct 2010 03:20:19 +0000 (20:20 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 6 Nov 2010 19:51:26 +0000 (12:51 -0700)
commit40c40231f79e4325a3e07a59c8280fa46341fc88
tree552cf925a498a1d593233ee8bbdcf547250cbbb9
parent112d4460f5f96d69f25419117a7fa47154d0a928
upstream: fix bug with -C and extracting directories

Cherry-picked from upstream commit
acb77ac5bd4bf9248070c9c512525eee8258aebd:

Problem reported by Denis Excoffier in
<http://lists.gnu.org/archive/html/bug-tar/2010-10/msg00034.html>.

* src/extract.c (extract_dir): Use mkdirat, not mkdir.
* tests/extrac16.at: New file, to test for this bug.
* tests/Makefile.am (TESTSUITE_AT): Add it.
* tests/testsuite.at: Include it.

This file is a placeholder. It will be replaced with the actual ChangeLog
by make dist.  Run make ChangeLog if you wish to create it earlier.
debian/changelog
src/extract.c
tests/Makefile.am
tests/extrac16.at [new file with mode: 0644]
tests/testsuite.at