]> Dogcows Code - chaz/tar/blobdiff - src/create.c
Add dup-safer.c, fd-safer.c, unistd-safer.h.
[chaz/tar] / src / create.c
index 6108c439ee5d7a6f9ab113ff3942355f2ebc7394..cee0b55f36ce7e616e28f2c24c1c3a4ab94a87d1 100644 (file)
@@ -859,7 +859,7 @@ dump_regular_file (int fd, struct tar_stat_info *st)
 
       if (multi_volume_option)
        {
-         assign_string (&save_name, st->file_name);
+         assign_string (&save_name, st->orig_file_name);
          save_sizeleft = size_left;
          save_totsize = st->stat.st_size;
        }
@@ -1397,7 +1397,7 @@ dump_file0 (struct tar_stat_info *st, char *p,
       && OLDER_STAT_TIME (st->stat, m)
       && (!after_date_option || OLDER_STAT_TIME (st->stat, c)))
     {
-      if (!incremental_option)
+      if (!incremental_option && verbose_option)
        WARN ((0, 0, _("%s: file is unchanged; not dumped"),
               quotearg_colon (p)));
       return;
This page took 0.020003 seconds and 4 git commands to generate.