[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

tempfile should be binary by default, or at least a flag

Ben Harper

8/22/2006 9:05:00 AM

Shouldn't tempfile open it's file in binary mode by default?

One can of course call .binmode immediately after creating the tempfile,
but doesn't binary by default make more sense in the case of a temporary
file?

If it's too late to change the default behaviour, then perhaps
tempfile.new should accept a flag parameter?

--
Posted via http://www.ruby-....