]> Dogcows Code - chaz/tar/commitdiff
Revamp tar_getcwd/normalize_filename stuff.
authorSergey Poznyakoff <gray@gnu.org.ua>
Tue, 1 Oct 2013 18:48:30 +0000 (21:48 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 1 Oct 2013 18:48:30 +0000 (21:48 +0300)
The changes are based on the discussion with Nathan.

* src/common.h (normalize_filename): Take two arguments. All
callers updated.
(tar_getcwd): Replaced with ..
(tar_getcdpath): New proto.
* src/misc.c (normalize_filename): Take two arguments.
(chdir_arg): Populate cwd along with creating the
structure.
(tar_getcwd): Removed.
(tar_getcdpath): New function.

* tests/incr09.at: New test case.
* tests/Makefile.am: Add new tests.
* tests/testsuite.at: Likewise.


No differences found
This page took 0.024359 seconds and 4 git commands to generate.