diff options
author | Roland McGrath <roland@redhat.com> | 1994-07-04 21:52:28 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1994-07-04 21:52:28 +0000 |
commit | 61da194af93493434cd744dcc4898becf2fd9420 (patch) | |
tree | e162bb409bbf6d42d1e9af3d7f5f9fcceb2324f5 | |
parent | 30c146526571d09788abb409a040fae7ee1c12b5 (diff) | |
download | gunmake-61da194af93493434cd744dcc4898becf2fd9420.tar.gz |
(delete_target): Use safe_stat in place of stat.
-rw-r--r-- | commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |