On Thu, 1 Jul 2004, Stas Bekman wrote:

> Randy Kobes wrote:
>
> > Another way to get the test as written
> > to pass is is to open the file in binary mode:
>
> I'm now not sure what's going on win32, <fh> removes \r
> but sendfile not?

That's right - if you open a text file on Win32 without
binmode, the \r are removed, and if binmode is used,
they stay.

[ ... ]
> Adding a short comment why we use binmode should be good
> enough I believe. Go ahead and commit that patch
> (+comment). Thanks Randy.

Thanks - I'll do that.

-- 
best regards,
randy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to