[#18121] [Ruby 1.8.7 - Bug #405] (Open) ssl.rb:31: [BUG] Bus Error — Anonymous <redmine@...>

Issue #405 has been reported by Anonymous.

14 messages 2008/08/04

[#18130] Re: New array methods cycle, choice, shuffle (plus bug in cycle) — Brian Candler <B.Candler@...>

> Seriously though... Array.first is a noun.

10 messages 2008/08/05

[#18319] NEW Command: absolute_path() -- — "C.E. Thornton" <admin@...>

Core,

14 messages 2008/08/16
[#18321] Re: NEW Command: absolute_path() -- — Yukihiro Matsumoto <matz@...> 2008/08/18

Hi,

[#18381] [Bug #496] DRb.start_service(nil) is very slow — Hongli Lai <redmine@...>

Bug #496: DRb.start_service(nil) is very slow

11 messages 2008/08/25

[ruby-core:18331] Re: [Bug #449] File.zero? returns true when given a directory on Windows

From: "Luis Lavena" <luislavena@...>
Date: 2008-08-18 18:14:22 UTC
List: ruby-core #18331
On Mon, Aug 18, 2008 at 8:08 PM, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
> 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?
>

Don't look at me, I never thought about using it that way, but if
someone reported it maybe someone is using it wrongly?

>> 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?
>

If this bug report came from the RubySpec, then the expectations are
bad... and the documentation can reflect this.

-- 
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

In This Thread

Prev Next