if (! dirp)
{
- if (ignore_failed_read_option)
- savedir_warn (path);
- else
- savedir_error (path);
+ savedir_error (path);
}
errno = 0;
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;
}
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);