diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-03-20 17:28:24 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-03-20 17:28:24 +0900 |
commit | 1aa255504414d74977130f9086ee35e149cd22e2 (patch) | |
tree | 0cc99ea234be4c666ab8a936930d19c557b14132 /file.c | |
parent | 1db8951d3a8be6a756c9d3d3b87231997b301985 (diff) | |
download | ruby-1aa255504414d74977130f9086ee35e149cd22e2.tar.gz |
Fix the macro for condition
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5967,7 +5967,7 @@ rb_stat_W(VALUE obj) static VALUE rb_stat_ww(VALUE obj) { -#ifdef S_IROTH +#ifdef S_IWOTH struct stat *st = get_stat(obj); if ((st->st_mode & (S_IWOTH)) == S_IWOTH) { return UINT2NUM(st->st_mode & (S_IRUGO|S_IWUGO|S_IXUGO)); |