From f2f2c6d068d85a265b611587f1824bf4b66c47be Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 19 Feb 2002 06:50:22 +0000 Subject: file.c (path_check_1): typo git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.c b/file.c index 3016589b9..cc443c950 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 -- cgit