Issue #8165 has been updated by h.shirosaki (Hiroshi Shirosaki).


funny_falcon (Yura Sokolov) wrote:
> May be it will be simpler to accept https://bugs.ruby-lang.org/issues/8158 ?
>  It has less memory requirement, avoids string comparisons, etc
>  

Indeed your patch would not have this bug since using C string instead of string object.
I think smaller patch or splitting patch might be better to be reviewed.
 

----------------------------------------
Bug #8165: Problems with require
https://bugs.ruby-lang.org/issues/8165#change-38032

Author: Krugloff (Alexandr Kruglov)
Status: Assigned
Priority: Normal
Assignee: tarui (Masaya Tarui)
Category: 
Target version: current: 2.1.0
ruby -v: ruby 2.0.0-p0


Require doesn't work correctly if path contains cyrillic.

require '/home/mak/test.rb' #-> true
require '/home/mak/test.rb' #-> false

require '/home/mak/????оек????/test.rb' #-> true
require '/home/mak/????оек????/test.rb' #-> true


-- 
http://bugs.ruby-lang.org/