-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 28 February 2002 19:38
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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:user@host:/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.
----------------------------------------------------------------------

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to