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

MacRuby ruby-noreply at macosforge.org
Sat Oct 3 15:00:03 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:                       
--------------------------------+-------------------------------------------

Comment(by lsansonetti@…):

 Currently, copyfile() is only used if both operands are file paths
 (strings), otherwise we simulate it.

 If an operand is of T_FILE and if its seek offset is 0 and if it has a
 path, we could potentially use copyfile() too (and update the seek offset
 in case it's the destination operand).

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



More information about the MacRuby-devel mailing list