(delete_target): Use safe_stat in place of stat.

This commit is contained in:
Roland McGrath 1994-07-04 21:52:28 +00:00
parent 30c1465265
commit 61da194af9

View File

@ -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)
{