#308: "too short multibyte code string" when using Pathname
-------------------------------+--------------------------------------------
 Reporter:  t...@…              |       Owner:  lsansone...@…        
     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/>

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to