Project

General

Profile

« Previous | Next » 

Revision 71120953

Added by nobu (Nobuyoshi Nakada) almost 7 years ago

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e