Hi, At Tue, 19 Aug 2008 02:07:03 +0900, Luis Lavena wrote in [ruby-core:18328]: > File.zero? always return false when a Directory is being requested > (*nix), so similar thinking on Windows will reduce the surprise > factor, right? File.zero? isn't the real issue. I can't imagine why you want to use File.size for a directory. It is a just garbage, I think. In what case is it usable? > Also the File.zero? documentation can be updated to reflect that > File.zero? is not reliable across platforms given the same scenario. May Dir#empty? or something else be "expected" method? -- Nobu Nakada