General

Profile

frsyuki (Sadayuki Furuhashi)

  • Login: frsyuki
  • Email: frsyuki@gmail.com
  • Registered on: 11/15/2013
  • Last sign in: 05/25/2016

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

05/25/2016

07:23 AM Ruby Bug #12427 (Closed): Defining methods with the same name to both Fixnum and Bignum classes could cause SEGV in C extensions since Feature #12005
My gem (msgpack.gem) includes C extension with following pseudo code.
This code is working well with released ruby versions. But it caused SEGV with ruby 2.4.0-dev trunk 55091.
```C
static VALUE Fixnum_to_msgpack(int argc, VALUE* ar...
frsyuki (Sadayuki Furuhashi)

01/13/2016

07:38 PM Ruby Bug #11988 (Closed): YAML.dump doesn't quote string starting with 0 which will be recognized as float in YAML 1.2
YAML.dump doesn't quote string "019" but it is recognized as float using Core Schema tag resolution option of YAML 1.2 specification.
Therefore, SnakeYAML (Java) recognizes a string "019" serialized by Ruby's YAML as float 19.0 unexpect...
frsyuki (Sadayuki Furuhashi)

02/26/2015

01:07 AM Ruby Bug #10904: Time.strptime with %s.%N format should not ignore sec_fraction
I attached an updated patch (strptime-s-n-format-sec-fraction-fix.2.patch) that invert sign of sec_fraction if seconds is negative.
This is the new behavior:
```
TZ=GMT ruby -rtime -e 'p Time.strptime("-3.1", "%s.%N").iso8601(10)'
...
frsyuki (Sadayuki Furuhashi)

02/25/2015

06:01 AM Ruby Bug #10904 (Closed): Time.strptime with %s.%N format should not ignore sec_fraction
`Time.strptime` with "%s.%N" format ignores milliseconds, microseconds and nanoseconds.
For example, `Time.strptime("0.123", "%s.%N").tv_usec` returns 0.
Here is the script to reproduce:
```
require 'time'
# sec (this is ok)
t1...
frsyuki (Sadayuki Furuhashi)

11/16/2013

12:08 PM Ruby Bug #9106: 'gem install' doesn't copy .so files of ext libs
It sounds good improvement of RubyGems to manage binaries for each ruby API versions.
Your comment totally makes sense. I'll fix msgpack next version. Thank you!
frsyuki (Sadayuki Furuhashi)

11/15/2013

07:36 PM Ruby Bug #9106: 'gem install' doesn't copy .so files of ext libs
Hi I'm @frsyuki.
1) I don't understand which behavior of RubyGems should the code trust. It assumes that msgpack.so is placed into lib/msgpack/msgpack.so because ext/msgpack/extconf.rb includes this line:
create_makefile('msgpack/m...
frsyuki (Sadayuki Furuhashi)

Also available in: Atom