[MacRuby] #308: "too short multibyte code string" when using Pathname
#308: "too short multibyte code string" when using Pathname -------------------------------+-------------------------------------------- Reporter: tjw@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: -------------------------------+-------------------------------------------- Possibly related, but simpler case of https://www.macruby.org/trac/ticket/303 See the attached script, which hits a regex parse error when run. Digging around, it looks like this might start from lib/pathname.rb in #initialize: if /\0/ =~ @path raise ArgumentError, "pathname contains \\0: #{@path.inspect}" end The /\0/ fails to parse and a RegexpError error is thrown. -- Ticket URL: <http://www.macruby.org/trac/ticket/308> MacRuby <http://macruby.org/>
#308: "too short multibyte code string" when using Pathname -------------------------------+-------------------------------------------- Reporter: tjw@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: -------------------------------+-------------------------------------------- Comment(by tjw@…): I forgot to note, this is with r2267 on the trunk (recently re-copied from the LLVM experimental branch). -- Ticket URL: <http://www.macruby.org/trac/ticket/308#comment:1> MacRuby <http://macruby.org/>
#308: "too short multibyte code string" when using Pathname -------------------------------+-------------------------------------------- Reporter: tjw@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.6 Component: MacRuby | Resolution: fixed Keywords: | -------------------------------+-------------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.6 Comment: Seems to be fixed in trunk as of r3858. {{{ $ ./miniruby t.rb dn: . pn . $ ruby t.rb dn: . pn . }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/308#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby