]> Dogcows Code - chaz/tar/commitdiff
Fix normalize_filename.
authorSergey Poznyakoff <gray@gnu.org.ua>
Tue, 24 Sep 2013 11:01:13 +0000 (14:01 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 24 Sep 2013 11:01:13 +0000 (14:01 +0300)
The function did not take into account eventual -C options, which
in particular led to various problems when using -C and --remove-files
together.

* src/common.h (namebuf_add_dir,namebuf_finish)
(tar_getcwd): New prototypes.
* src/misc.c (namebuf_add_dir,namebuf_finish)
(tar_getcwd): New functions.
(normalize_filename): Use tar_getcwd.


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