1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Return false where sticky-bit is not provided [Bug #18734]

This commit is contained in:
Nobuyoshi Nakada 2022-04-15 16:40:25 +09:00
parent 9db7d95968
commit 7f81f33547
Notes: git 2022-04-15 17:52:35 +09:00

2
file.c
View file

@ -2144,7 +2144,7 @@ rb_file_sticky_p(VALUE obj, VALUE fname)
#ifdef S_ISVTX
return check3rdbyte(fname, S_ISVTX);
#else
return Qnil;
return Qfalse;
#endif
}