[macruby-changes] [MacRuby/MacRuby] 35fe47: fix a bug in {Proc, Symbol}#allocate where it woul...

GitHub noreply at github.com
Sat May 18 18:54:57 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/MacRuby/MacRuby
  Commit: 35fe473bedc22e022b49137a3aab11507cdb9f5c
      https://github.com/MacRuby/MacRuby/commit/35fe473bedc22e022b49137a3aab11507cdb9f5c
  Author: Watson <watson1978 at gmail.com>
  Date:   2013-05-18 (Sat, 18 May 2013)

  Changed paths:
    M class.c

  Log Message:
  -----------
  fix a bug in {Proc, Symbol}#allocate where it would be triggered the crash

Result:
$ macirb
irb(main):001:0> Proc.allocate
zsh: segmentation fault  macirb

Expected:
$ irb
irb(main):001:0> Proc.allocate
TypeError: allocator undefined for ProcExpected:


  Commit: 6dc6fb50ae3880371355041405deb030e5472ae3
      https://github.com/MacRuby/MacRuby/commit/6dc6fb50ae3880371355041405deb030e5472ae3
  Author: Watson <watson1978 at gmail.com>
  Date:   2013-05-18 (Sat, 18 May 2013)

  Changed paths:
    R spec/frozen/tags/macruby/core/proc/allocate_tags.txt

  Log Message:
  -----------
  update spec's tag


Compare: https://github.com/MacRuby/MacRuby/compare/3f0dd69a4cc1...6dc6fb50ae38


More information about the macruby-changes mailing list