]> Dogcows Code - chaz/tar/blobdiff - src/create.c
Minor fixes to text messages. Proposed by Benno Schulenberg.
[chaz/tar] / src / create.c
index d4a1b09f4d429a26ef476c6ac4f141e792e0e369..bf2c76b620f5210fdb369318282a1e9dca953eb3 100644 (file)
@@ -1078,7 +1078,7 @@ dump_dir0 (char *directory,
   {
     char const *entry;
     size_t entry_len;
-    char *name_buf = strdup (st->orig_file_name);
+    char *name_buf = xstrdup (st->orig_file_name);
     size_t name_size = strlen (name_buf);
     size_t name_len = name_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.021047 seconds and 4 git commands to generate.