Hello,

On Fri, Jan 03, 2003, Yukihiro Matsumoto wrote:
> In message "[BUG?] Tempfile"
>     on 03/01/03, Pierre Baillet <oct / zoy.org> writes:
> 
> |it seems that using tempfile.rb (ruby 1.7.3 from PragProg installer)
> |with binary files does fail on Windows (because of the missing "b" flag
> |when the file is opened for writing).
> 
> How about calling "binmode" to the tempfile object?
> 
>   t = Tempfile.new("foo")
>   t.binmode
>   ...

Thanks a lot !

-- 
Pierre Baillet
        Debian - What your mom would use if it were twenty times easier.
                            http://www.copyleft.net