General

Profile

pweldon (Peter Weldon)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 9 9

Activity

12/31/2010

06:36 AM Ruby Bug #4227 (Closed): Webrick tests use deprecated :RequestHandler option
=begin
Patch removes usage of deprecated :RequestHandler option in tests. A test of the deprecation behaviour is also added.


From dc216679bab208a71c4cb3d65fe18bc625c119d9 Mon Sep 17 00:00:00 2001
From: Peter Weldon <peter.weld...
pweldon (Peter Weldon)

12/30/2010

05:34 AM Ruby Bug #4221: Unexpected result of Time#strftime("%s") on Windows with trunk
=begin
From 8155b4d68f5b09ad95da23db499cd718be38fd29 Mon Sep 17 00:00:00 2001
From: Peter Weldon <peter.weldon@null.net>
Date: Wed, 29 Dec 2010 12:32:30 -0800
Subject: [PATCH] vsnprintf.c (BSD__uqtoa): Fix overflow when long != qu...
pweldon (Peter Weldon)
04:34 AM Ruby Bug #4221: Unexpected result of Time#strftime("%s") on Windows with trunk
=begin
Most likely an overflow bug:

irb(main):001:0> Time.at(2**31 - 1).strftime('%s')
=> "2147483647"
irb(main):002:0> Time.at(2**31).strftime('%s')
=> "./,),(-*,("
irb(main):003:0> Time.at(2**32).strftime('%s')
=> "0"
...
pweldon (Peter Weldon)

11/10/2010

02:04 AM Ruby Bug #4005: YAML fails to roundtrip Time objects
=begin
Patch syck's handling of fractional seconds. Round-tripping of nsec Time values now works.
=end
pweldon (Peter Weldon)

11/01/2010

04:02 AM Ruby Bug #4005: YAML fails to roundtrip Time objects
=begin
As pointed out fractional time does not appear to round trip very well:

:~$ rvm exec ruby -v -ryaml -e 't0 = Time.at(0.1); p YAML::load(YAML::dump(t0)) == t0'
ruby 1.9.3dev (2010-10-30 trunk 29648) [i686-linux]
false
ruby 1...
pweldon (Peter Weldon)

10/30/2010

11:31 AM Ruby Bug #4005: YAML fails to roundtrip Time objects
=begin
:~$ rvm exec ruby -v -ryaml -e 't0 = Time.now; p t0; p YAML::load(YAML::dump(t0)) == t0'
ruby 1.9.3dev (2010-10-30 trunk 29630) [i686-linux]
2010-10-30 02:30:09 +0000
false
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-lin...
pweldon (Peter Weldon)
03:25 AM Ruby Bug #4005 (Closed): YAML fails to roundtrip Time objects
=begin
$ rvm exec ruby -v -ryaml -e 't0 = Time.now; p YAML::load(YAML::dump(t0)) == t0'
ruby 1.9.3dev (2010-10-30 trunk 29630) [i686-linux]
false
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux]
true
ruby 1.9.1p378 (2010-0...
pweldon (Peter Weldon)

09/29/2010

08:34 AM Ruby Feature #3875: [Patch] backtrace for i386-mswin32_100
=begin
Tested in:
* ruby 1.9.3dev (2010-09-28 trunk 29354) [i386-mingw32]
* ruby 1.9.3dev (2010-09-28) [i386-mswin32_100]

Beautiful. Thank you.
=end
pweldon (Peter Weldon)

09/27/2010

03:55 AM Ruby Feature #3875: [Patch] backtrace for i386-mswin32_100
=begin
New version of patch:
* Fixed race condition
* Fixed event object leak
=end
pweldon (Peter Weldon)

09/26/2010

02:59 AM Ruby Feature #3875: [Patch] backtrace for i386-mswin32_100
=begin
> * why StackWalk64 instead of StackWalk?

StackWalk64 supersedes StackWalk in the newer Windows SDKs and has support for x64.

> * why does it need another thread?

It most probably doesn't. GetThreadContext() docume...
pweldon (Peter Weldon)

Also available in: Atom