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

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Jul 26 21:48:02 JST 2018


nobu	2018-07-26 21:48:02 +0900 (Thu, 26 Jul 2018)

  New Revision: 64067

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

  Log:
    dir.c: fix glob with base when no DT_UNKNOWN
    
    * dir.c (do_stat, do_lstat, do_opendir): 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