[ruby-cvs:71000] nobu:r63909 (trunk): dir.c: fix directory glob

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Jul 9 10:20:21 JST 2018


nobu	2018-07-09 10:20:20 +0900 (Mon, 09 Jul 2018)

  New Revision: 63909

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63909

  Log:
    dir.c: fix directory glob
    
    * dir.c (glob_helper): fix directory glob which resulted in lacking
      the first byte.  adjust the length of basename to be appended as
      well as removing the heading path, not the length of the joined
      path.  [ruby-dev:50588] [Bug #14899]

  Modified files:
    trunk/dir.c
    trunk/test/ruby/test_dir.rb


More information about the ruby-cvs mailing list