cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: textmode/binmode and the test script

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 11 Oct 2001 00:05:29 +0200 (MET DST)

On Wed, 10 Oct 2001, Roth, Kevin P. wrote:

> Hi there. While attempting to run the test scripts under Cygwin 1.3.3 on
> a windows-2000 workstation, I ran across a textmode vs binmode issue.

I am grateful for your efforts here. I sometimes get the feeling no one else
in the world but me ever runs the tests...

> The issue stems from the fact that cygwin allows you to choose the
> default End-Of-Line behavior as either "DOS" or "Unix", which translates
> to mounting disk partitions into the Cygwin filesystem in "textmode" or
> "binmode" (binary). In my current installation, I have chosen DOS
> end-of-lines. The result was that most of the tests were failing. I dug
> into a bit, and found that they were failing because of strange
> end-of-line issues.

Your fixes showed understanding of both purpose and context. I applied them
and re-run all tests successfully on my Solaris box. They were also committed
to CVS just now.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-10-11