struct file *file;
char *on_behalf_of;
{
- if (file->precious !! file->phony)
+ struct stat st;
+
+ if (file->precious || file->phony)
return;
#ifndef NO_ARCHIVES
error ("*** [%s] Deleting file `%s'", on_behalf_of, file->name);
else
error ("*** Deleting file `%s'", file->name);
- if (unlink (child->file->name) < 0)
+ if (unlink (file->name) < 0)
perror_with_name ("unlink: ", file->name);
}
}
delete_child_targets (child)
struct child *child;
{
- struct stat st;
struct dep *d;
if (child->deleted)