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:
8409197
)
(search_path): Use safe_stat in place of stat.
author
Roland McGrath
<roland@redhat.com>
Mon, 4 Jul 1994 21:54:18 +0000
(21:54 +0000)
committer
Roland McGrath
<roland@redhat.com>
Mon, 4 Jul 1994 21:54:18 +0000
(21:54 +0000)
job.c
patch
|
blob
|
history
diff --git
a/job.c
b/job.c
index 335c6a10b5a99274a086b6e328f489daae0a1b5e..5be3194f7db6bc9e29d79a34decd9705cd22e7b6 100644
(file)
--- a/
job.c
+++ b/
job.c
@@
-1062,7
+1062,7
@@
search_path (file, path, program)
bcopy (file, program + (p - path) + 1, len);
}
- if (stat (program, &st) == 0
+ if (s
afe_s
tat (program, &st) == 0
&& S_ISREG (st.st_mode))
{
if (st.st_uid == geteuid ())