[#23231] What do you think about changing the return value of Kernel#require and Kernel#load to the source encoding of the required file? — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>

Dear Ruby developers and users!

8 messages 2009/04/17

[#23318] [Feature #1408] 0.1.to_r not equal to (1/10) — Heesob Park <redmine@...>

Feature #1408: 0.1.to_r not equal to (1/10)

19 messages 2009/04/26

[ruby-core:23094] [Bug #1344] sleep(0) sleeps forever on Mac OSX 10.4

From: "Sean O'Halpin" <redmine@...>
Date: 2009-04-01 08:33:51 UTC
List: ruby-core #23094
Bug #1344: sleep(0) sleeps forever on Mac OSX 10.4
http://redmine.ruby-lang.org/issues/show/1344

Author: Sean O'Halpin
Status: Open, Priority: Normal
Category: core, Target version: 1.9.0-5
ruby -v: ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin8.11.1]

Instead of not sleeping at all, sleep(0) sleeps forever on Mac OSX 10.4. Multiruby output below:

$ uname -a
Darwin xxxx 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386
$ multiruby -rtimeout -e 'Timeout::timeout(2) { sleep(0) }'
VERSION = jruby-1.1.6
CMD     = ~/.multiruby/install/jruby-1.1.6/bin/ruby -rtimeout -e Timeout::timeout(2) { sleep(0) }
RESULT = 0

VERSION = jruby-1.2.0RC2
CMD     = ~/.multiruby/install/jruby-1.2.0RC2/bin/ruby -rtimeout -e Timeout::timeout(2) { sleep(0) }
RESULT = 0

VERSION = 1.8.7-p72
CMD     = ~/.multiruby/install/1.8.7-p72/bin/ruby -rtimeout -e Timeout::timeout(2) { sleep(0) }
RESULT = 0

VERSION = v1_8_6_110
CMD     = ~/.multiruby/install/v1_8_6_110/bin/ruby -rtimeout -e Timeout::timeout(2) { sleep(0) }
RESULT = 0

VERSION = v1_9_1_0
CMD     = ~/.multiruby/install/v1_9_1_0/bin/ruby -rtimeout -e Timeout::timeout(2) { sleep(0) }
-e:1:in `sleep': execution expired (Timeout::Error)
        from -e:1:in `block in <main>'
        from -e:1:in `<main>'

RESULT = 256

TOTAL RESULT = 1 failures out of 5

Passed: jruby-1.2.0RC2, jruby-1.1.6, v1_8_6_110, 1.8.7-p72
Failed: v1_9_1_0


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next