summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-19 06:50:22 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-19 06:50:22 +0000
commit87dfb89d2e15b031432ae09225340331a8259a1c (patch)
tree0495af180b1d2147cdf45069d9847d25d968fa48
parente60deb155585c410b85d417002d1f4f32062de19 (diff)
file.c (path_check_1): typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 3016589b91..cc443c950f 100644
--- a/file.c
+++ b/file.c
@@ -2307,7 +2307,7 @@ path_check_1(path)
#ifndef S_IWOTH
# define S_IWOTH 002
#endif
- if (stat(p0, &st) == 0 && S_ISDIR(st->st_mode) && (st.st_mode & S_IWOTH)
+ if (stat(p0, &st) == 0 && S_ISDIR(st.st_mode) && (st.st_mode & S_IWOTH)
#ifdef S_ISVTX
&& !(st.st_mode & S_ISVTX)
#endif