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.
- [DH] debian/changelog
- [DH] src/extract.c
- [DH] tests/Makefile.am
- [DH] tests/extrac16.at
- [DH] tests/testsuite.at