From: "Berger, Daniel" Date: 2006-08-22T23:38:32+09:00 Subject: Re: tempfile should be binary by default, or at least a flag > -----Original Message----- > From: list-bounce@example.com > [mailto:list-bounce@example.com] On Behalf Of Ben Harper > Sent: Tuesday, August 22, 2006 3:05 AM > To: ruby-talk ML > Subject: tempfile should be binary by default, or at least a flag > > > 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? This and IO.readlines both. :) Regards, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.