[ruby-cvs:57132] nobu:r49983 (trunk): dir.c: fix DT_UNKNOWN recursion

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Mar 17 17:23:15 JST 2015


nobu	2015-03-17 17:23:14 +0900 (Tue, 17 Mar 2015)

  New Revision: 49983

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

  Log:
    dir.c: fix DT_UNKNOWN recursion
    
    * dir.c (glob_helper): distinguish not-yet-stated and DT_UNKNOWN
      by readdir, and traverse recursively for the former.  Linux
      readdir returns DT_UNKNOWN on some filesystems, e.g., smbfs,
      iso9660.

  Modified files:
    trunk/ChangeLog
    trunk/dir.c


More information about the ruby-cvs mailing list