]> Dogcows Code - chaz/tar/commitdiff
Use new diagnostics functions.
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 17 Nov 2003 07:39:33 +0000 (07:39 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 17 Nov 2003 07:39:33 +0000 (07:39 +0000)
src/incremen.c
src/names.c

index 4bed23cffebd93f90f7ffcffc5d37fd7f5a89eaa..b33140d803c8ffb8c0a346a49dbae6f93054854c 100644 (file)
@@ -188,10 +188,7 @@ get_directory_contents (char *path, dev_t device)
 
     if (! dirp)
       {
-       if (ignore_failed_read_option)
-         savedir_warn (path);
-       else
-         savedir_error (path);
+        savedir_error (path);
       }
     errno = 0;
 
@@ -229,10 +226,7 @@ get_directory_contents (char *path, dev_t device)
 
              if (deref_stat (dereference_option, name_buffer, &stat_data))
                {
-                 if (ignore_failed_read_option)
-                   stat_warn (name_buffer);
-                 else
-                   stat_error (name_buffer);
+                 stat_diag (name_buffer);
                  continue;
                }
 
index a19afd7a20c80571ddfc440d0f4a98485f2879a2..5cb1aa544a8588d20f12e75ea4c53e0eb330baba 100644 (file)
@@ -833,10 +833,7 @@ collect_and_sort_names (void)
 
       if (deref_stat (dereference_option, name->name, &statbuf) != 0)
        {
-         if (ignore_failed_read_option)
-           stat_warn (name->name);
-         else
-           stat_error (name->name);
+         stat_diag (name->name);
          continue;
        }
       if (S_ISDIR (statbuf.st_mode))
This page took 0.026758 seconds and 4 git commands to generate.