]> Dogcows Code - chaz/tar/blobdiff - src/incremen.c
Removed m4
[chaz/tar] / src / incremen.c
index 4bed23cffebd93f90f7ffcffc5d37fd7f5a89eaa..5feef76667754fa99736a546e8d32649482e03ac 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;
                }
 
@@ -497,7 +491,7 @@ write_directory_file (void)
 
   if (fseek (fp, 0L, SEEK_SET) != 0)
     seek_error (listed_incremental_option);
-  if (ftruncate (fileno (fp), (off_t) 0) != 0)
+  if (sys_truncate (fileno (fp)) != 0)
     truncate_error (listed_incremental_option);
 
   fprintf (fp, "%lu\n", (unsigned long) start_time);
This page took 0.021775 seconds and 4 git commands to generate.