summaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-12-12 03:26:08 +0000
committerRoland McGrath <roland@redhat.com>1995-12-12 03:26:08 +0000
commit4e6de57b8fec02cb77043b3d856cf40f2663f0c2 (patch)
treea2d58b698feb85d750e2cc56261fca4650919521 /commands.c
parent41e6704efd71ee4735685baa67c61e14642d9779 (diff)
downloadmake-4e6de57b8fec02cb77043b3d856cf40f2663f0c2.tar.gz
Use plain stat instead of safe_stat.
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands.c b/commands.c
index 1a8df3a4..97ccbb16 100644
--- a/commands.c
+++ b/commands.c
@@ -451,7 +451,7 @@ delete_target (file, on_behalf_of)
}
#endif
- if (safe_stat (file->name, &st) == 0
+ if (stat (file->name, &st) == 0
&& S_ISREG (st.st_mode)
&& (time_t) st.st_mtime != file->last_mtime)
{
@@ -464,7 +464,7 @@ delete_target (file, on_behalf_of)
perror_with_name ("unlink: ", file->name);
}
}
-
+
/* Delete all non-precious targets of CHILD unless they were already deleted.
Set the flag in CHILD to say they've been deleted. */