file.c (path_check_1): typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e60deb1555
commit
87dfb89d2e
2
file.c
2
file.c
@ -2307,7 +2307,7 @@ path_check_1(path)
|
|||||||
#ifndef S_IWOTH
|
#ifndef S_IWOTH
|
||||||
# define S_IWOTH 002
|
# define S_IWOTH 002
|
||||||
#endif
|
#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
|
#ifdef S_ISVTX
|
||||||
&& !(st.st_mode & S_ISVTX)
|
&& !(st.st_mode & S_ISVTX)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user