[MacRuby-devel] [MacRuby] #363: IO.copy_stream dont handle copyfile.

MacRuby ruby-noreply at macosforge.org
Sat Oct 3 12:29:45 PDT 2009


#363: IO.copy_stream dont handle copyfile.
--------------------------------+-------------------------------------------
 Reporter:  kazuhisa@…          |       Owner:  lsansonetti@…        
     Type:  defect              |      Status:  new                  
 Priority:  minor               |   Milestone:  MacRuby 0.5          
Component:  MacRuby             |    Keywords:                       
--------------------------------+-------------------------------------------
 I try to run folloing script.
 {{{
   src = open("a")
   dst = open("b","w+")
   IO.copy_stream(src,dst)
   src.close
   dst.close
 }}}
 I expected to run via copyfile function . but not.
 because src/dst object is indicated as not T_FILE by rb_type.(T_NATIVE)

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/363>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list