[#60404] is RB_GC_GUARD needed in rb_io_syswrite? — Eric Wong <normalperson@...>
I haven't gotten it to crash as-is, but it seems like we need to
4 messages
2014/02/01
[#60682] volatile usages — Eric Wong <normalperson@...>
Hi all, I went ahead and removed some use of volatile which were once
5 messages
2014/02/13
[#60794] [RFC] rearrange+pack vtm and time_object structs — Eric Wong <normalperson@...>
Extracted from addendum on top of Feature #9362 (cache-aligned objects).
4 messages
2014/02/16
[#61139] [ruby-trunk - Feature #9577] [Open] [PATCH] benchmark/driver.rb: align columns in text output — normalperson@...
Issue #9577 has been reported by Eric Wong.
3 messages
2014/02/28
[ruby-core:60871] [ruby-trunk - Bug #8865] OptionParser acceptable bugs
From:
nagachika00@...
Date:
2014-02-19 16:38:44 UTC
List:
ruby-core #60871
Issue #8865 has been updated by Tomoyuki Chikanaga. Backport changed from 1.9.3: DONE, 2.0.0: REQUIRED to 1.9.3: DONE, 2.0.0: DONE r42844 and r42845 were backported to ruby_2_0_0 at r45050. ---------------------------------------- Bug #8865: OptionParser acceptable bugs https://bugs.ruby-lang.org/issues/8865#change-45282 * Author: Eric Hodel * Status: Closed * Priority: Normal * Assignee: Eric Hodel * Category: lib * Target version: * ruby -v: - * Backport: 1.9.3: DONE, 2.0.0: DONE ---------------------------------------- I have found a few bugs in OptionParser's accept feature: Hexadecimal and binary numbers are not properly supported for Integer OptionParser::DecimalInteger, OptionParser::OctalInteger and OptionParser::DecimalNumeric convert invalid input to 0 or nil instead of raising InvalidArgument. The attached patch fixes the validation regular expression for handling binary and hexadecimal arguments and adds verification for DecimalInteger, OctalInteger and DecimalNumeric ---Files-------------------------------- optparse.rb.accept.patch (1.63 KB) optparse.rb.accept.2.patch (6.85 KB) optparse.rb.accept.3.patch (7.77 KB) -- http://bugs.ruby-lang.org/