]> Dogcows Code - chaz/tar/commit
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)
commite3d28d84bda24a45c239b398e7b42ccd9be2d0c2
tree66ec22f2c3861c715ee07dcf7e73448cb75eb258
parent2c06a80918019471876956eef4ef22f05c9e0571
Fix normalize_filename.

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.
src/common.h
src/misc.c
This page took 0.018113 seconds and 4 git commands to generate.