From: Nobuyoshi Nakada Date: 2009-01-13T03:30:30+09:00 Subject: [ruby-core:21284] Re: [Bug #1005] Strange behaviour of File.directory? under Windows Hi, At Tue, 13 Jan 2009 01:12:27 +0900, Daniel Berger wrote in [ruby-core:21278]: > If it's a bug, it's a bug in the Windows API: > > irb(main):001:0> require 'windows/path' > => true > irb(main):002:0> include Windows::Path > => Object > irb(main):003:0> PathIsDirectory('.') > => true > irb(main):004:0> PathIsDirectory('..') > => true > irb(main):005:0> PathIsDirectory('...') > => true > irb(main):006:0> PathIsDirectory('.......') > => true What API does the PathIsDirectory method use, GetFileAttributes()? -- Nobu Nakada