[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Extra linefeeds on NT
From: |
Helliwell, Matthew |
Subject: |
RE: Extra linefeeds on NT |
Date: |
Fri, 1 Mar 2002 10:16:32 -0000 |
-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: 28 February 2002 19:38
To: address@hidden
Cc: address@hidden
Subject: Re: Extra linefeeds on NT
Helliwell, Matthew writes:
>
>> Well to answer my own question it looks like it was a problem moving from
>> 1.11 to 1.11.1p1.
>>
>> The files were created in the respository using a 1.11 client using a
>> CVSROOT of :ext:address@hidden:/cvsroot/project (and the cygwin rsh).
>> Checking
>> out with a 1.11 client again, everything is ok. Checking out with the new
>> 1.11.p1 client and the extra ^M appears.
>My guess is that your 1.11 client was compiled against cygwin and thus
>assumes (incorrectly, in this case) that text files have lines that end
>only with <LF> rather than <CR><LF>, whereas your new 1.11.1p1 client
>was *not* compiled against cygwin and thus (correctly) assumes text
>file lines end with <CR><LF>. The net result is that the files in your
>repository are screwed up (they have <CR>s at the end of every line as
>part of the actual data rather than as part of the line terminator) and
>should be fixed.
Yep, I think you're spot on. I feel the urge to write a sed script coming
over me.
>And you should quit mixing and matching line endings
>on a single platform by using cygwin in Unix mode along with normal
>Windows tools.
Er yes, well, I think that would have saved me a lot of problems in the
first place.
Thanks
Matt
----------------------------------------------------------------------
If you have received this e-mail in error or wish to read our e-mail
disclaimer statement and monitoring policy, please refer to
http://www.drkw.com/disc/email/ or contact the sender.
----------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: Extra linefeeds on NT,
Helliwell, Matthew <=