summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-07-04 21:52:28 +0000
committerRoland McGrath <roland@redhat.com>1994-07-04 21:52:28 +0000
commit61da194af93493434cd744dcc4898becf2fd9420 (patch)
treee162bb409bbf6d42d1e9af3d7f5f9fcceb2324f5
parent30c146526571d09788abb409a040fae7ee1c12b5 (diff)
downloadgunmake-61da194af93493434cd744dcc4898becf2fd9420.tar.gz
(delete_target): Use safe_stat in place of stat.
-rw-r--r--commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.c b/commands.c
index d575b0c..3967302 100644
--- a/commands.c
+++ b/commands.c
@@ -416,7 +416,7 @@ delete_target (file, on_behalf_of)
}
#endif
- if (stat (file->name, &st) == 0
+ if (safe_stat (file->name, &st) == 0
&& S_ISREG (st.st_mode)
&& (time_t) st.st_mtime != file->last_mtime)
{