Browse Source

(dump_file0): Transform file name

Sergey Poznyakoff 19 years ago
parent
commit
29fb7356df
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/create.c

+ 2 - 0
src/create.c

@@ -1404,6 +1404,8 @@ dump_file0 (struct tar_stat_info *st, const char *p,
   assign_string (&st->file_name,
                  safer_name_suffix (p, false, absolute_names_option));
 
+  transform_name (&st->file_name);
+
   if (deref_stat (dereference_option, p, &st->stat) != 0)
     {
       stat_diag (p);