[MacRuby] #1234: Assertion failed: (repl_buflen > 0), when call String#tr with "\u00FF"
#1234: Assertion failed: (repl_buflen > 0), when call String#tr with "\u00FF" ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- {{{ $ macruby -e '"a".tr("a", "\u00ff")' Assertion failed: (repl_buflen > 0), function create_translate_charset_table, file string.c, line 5383. zsh: abort macruby -e '"a".tr("a", "\u00ff")' }}} Test Script: {{{ #!ruby # Latin-1 Supplement Range.new(0x80, 0xFF).each do |c| str = [c].pack('U') puts "#{c} : " + "a".tr("a", str) end # Latin Extended-A Range.new(0x0100, 0x017F).each do |c| str = [c].pack('U') puts "#{c} : " + "a".tr("a", str) end # Latin Extended-B Range.new(0x0180, 0x024F).each do |c| str = [c].pack('U') puts "#{c} : " + "a".tr("a", str) end }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1234> MacRuby <http://macruby.org/>
#1234: Assertion failed: (repl_buflen > 0), when call String#tr with "\u00FF" ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by watson1978@…): This issue resemble #827. -- Ticket URL: <http://www.macruby.org/trac/ticket/1234#comment:1> MacRuby <http://macruby.org/>
#1234: Assertion failed: (repl_buflen > 0), when call String#tr with "\u00FF" ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by lsansonetti@…): Yes it's probably the same. -- Ticket URL: <http://www.macruby.org/trac/ticket/1234#comment:2> MacRuby <http://macruby.org/>
#1234: Assertion failed: (repl_buflen > 0), when call String#tr with "\u00FF" ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: Component: MacRuby | Resolution: duplicate Keywords: | ----------------------------------+----------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => duplicate Comment: Closing as duplicate. -- Ticket URL: <http://www.macruby.org/trac/ticket/1234#comment:3> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby