]> Dogcows Code - chaz/tar/commit
tar: fix bug with -C and extracting directories
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Oct 2010 03:20:19 +0000 (20:20 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Oct 2010 03:21:06 +0000 (20:21 -0700)
commitacb77ac5bd4bf9248070c9c512525eee8258aebd
tree400bda5a5e8b1069bcff2442dcb0d56f377a239a
parent983113b140dbb540923a3112fa27e9f508ff70c5
tar: fix bug with -C and extracting directories

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.
src/extract.c
tests/Makefile.am
tests/extrac16.at [new file with mode: 0644]
tests/testsuite.at
This page took 0.019063 seconds and 4 git commands to generate.