General

Profile

eagletmt (Kohei Suzuki)

  • Login: eagletmt
  • Email: rubygems@wanko.cc
  • Registered on: 03/12/2014
  • Last sign in: 02/01/2019

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 7 7

Activity

03/29/2017

09:11 AM Ruby Bug #13384 (Closed): [PATCH] Fix `make clean` errors
https://github.com/ruby/ruby/pull/1563
- Fix error when running `make clean` just after `configure`
- Suppress error message when rubyspec files isn't present
## Before
```
% mkdir build1
% cd build1
% ../configure
% make c...
eagletmt (Kohei Suzuki)
06:32 AM Ruby Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
OK, I've read comments of #13077.
What do you think of renaming fstring to "deduped" string? "Deduped" strings are implicitly frozen.
- Rename `rb_fstring` to `rb_str_deduped`
- Rename `rb_fstring_new` to `rb_str_deduped_new`
- R...
eagletmt (Kohei Suzuki)
05:29 AM Ruby Feature #13381 (Closed): [PATCH] Expose rb_fstring and its family to C extensions
https://github.com/ruby/ruby/pull/1559
Currently, C extensions cannot use fstrings. I'd like to use
`rb_fstring_cstr` instead of `rb_str_new_cstr` for static strings in C
extensions to avoid excess allocation.
I think there's sev...
eagletmt (Kohei Suzuki)
03:48 AM Ruby Bug #13380 (Closed): [PATCH] Remove unused Init_frozen_strings declaration
https://github.com/ruby/ruby/pull/1558
Init_frozen_strings definition is removed in r51511.
https://bugs.ruby-lang.org/issues/11423
eagletmt (Kohei Suzuki)

06/20/2015

05:06 PM Ruby Bug #11291 (Closed): [PATCH] Check SPECIAL_CONST_P before RBASIC_CLASS to avoid SEGV
https://github.com/ruby/ruby/pull/943
It fixes SEGV when a special constant is passed to `ObjectSpace.dump` .
I think it needs to be backported to 2.1 and 2.2.
eagletmt (Kohei Suzuki)

01/10/2015

04:33 AM Ruby Bug #10727: Segfault with newlines + multibyte characters in exception message
Thanks! eagletmt (Kohei Suzuki)
01:41 AM Ruby Bug #10727 (Closed): Segfault with newlines + multibyte characters in exception message
In Ruby 2.2.0, this simple Ruby script results in segfault.
```ruby
class E < StandardError
def initialize
super("にほんご\n改行")
end
end
raise E
```
It's caused by r48637.
eagletmt (Kohei Suzuki)

03/22/2014

03:24 PM Ruby Bug #9663: Segfault with alias_method and include
Is NULL-check needed?
```diff
diff --git a/vm_method.c b/vm_method.c
index 2279190..6516a0b 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -578,7 +578,7 @@ rb_method_entry_get_without_cache(VALUE klass, ID id,
VALUE defined_...
eagletmt (Kohei Suzuki)
02:50 PM Ruby Bug #9663 (Closed): Segfault with alias_method and include
The following code results in segfault since r45367.
```ruby
module M
alias_method :orig_to_s, :to_s
def to_s
'to_s'
end
end
class C
include M
end
C.new.orig_to_s
```
```
% ruby -v segv.rb
ruby 2.2.0dev...
eagletmt (Kohei Suzuki)

03/12/2014

03:14 PM Ruby Bug #9626 (Rejected): alias, prepend and super cause unexpected SystemStackError
```ruby
module M
def foo
super
end
end
class C
def foo
'C#foo'
end
prepend M
alias_method :orig_foo, :foo
def foo
orig_foo
end
end
C.new.foo
```
I expect: `M#foo` -> `C#foo` -> `C#ori...
eagletmt (Kohei Suzuki)

Also available in: Atom