[ruby-cvs:71073] nobu:r63982 (trunk): dir.c: fix glob with base when no DT_UNKNOWN

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Jul 17 09:47:19 JST 2018


nobu	2018-07-17 09:47:19 +0900 (Tue, 17 Jul 2018)

  New Revision: 63982

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

  Log:
    dir.c: fix glob with base when no DT_UNKNOWN
    
    * dir.c (do_stat, do_lstat): need the length of the base path for
      fstatat() when fd is valid.
    
    * dir.c (glob_helper): fix for platforms where DT_UNKNOWN is not
      available, e.g. Solaris.

  Modified files:
    trunk/dir.c


More information about the ruby-cvs mailing list