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:
parent
9db7d95968
commit
7f81f33547
Notes:
git
2022-04-15 17:52:35 +09:00
1 changed files with 1 additions and 1 deletions
2
file.c
2
file.c
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue