From: Luis Lavena Date: 2008-08-19T02:07:03+09:00 Subject: [ruby-core:18328] Re: [Bug #449] File.zero? returns true when given a directory on Windows On Mon, Aug 18, 2008 at 6:45 PM, John Lam (IRONRUBY) wrote: > Not at all - it means we're now free to do the right thing :) > I hope by "the right thing" you don't say "raise an exception" as the ideal option ;-) File.zero? always return false when a Directory is being requested (*nix), so similar thinking on Windows will reduce the surprise factor, right? Also the File.zero? documentation can be updated to reflect that File.zero? is not reliable across platforms given the same scenario. > Thanks, > -John > Regards, -- Luis Lavena AREA 17 - Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. Douglas Adams