projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30c1465
)
(delete_target): Use safe_stat in place of stat.
author
Roland McGrath
<roland@redhat.com>
Mon, 4 Jul 1994 21:52:28 +0000
(21:52 +0000)
committer
Roland McGrath
<roland@redhat.com>
Mon, 4 Jul 1994 21:52:28 +0000
(21:52 +0000)
commands.c
patch
|
blob
|
history
diff --git
a/commands.c
b/commands.c
index d575b0c3f0c6b822da5c6e38d3df18a040e253f0..396730271981552bd0ae5d03e5bb0b2139d6ed9e 100644
(file)
--- a/
commands.c
+++ b/
commands.c
@@
-416,7
+416,7
@@
delete_target (file, on_behalf_of)
}
#endif
- if (stat (file->name, &st) == 0
+ if (s
afe_s
tat (file->name, &st) == 0
&& S_ISREG (st.st_mode)
&& (time_t) st.st_mtime != file->last_mtime)
{