info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WINCVS and MSVC problem


From: Kaz Kylheku
Subject: Re: WINCVS and MSVC problem
Date: Sat, 19 Jan 2002 01:52:51 GMT
User-agent: slrn/0.9.6.3 (Linux)

In article <address@hidden>, Jörg Rüppel wrote:
>Hi,
>
>I have some sourcefiles in my Linux cvs repository. When I check them out 
>with WinCVS through pserver and try to open them with MSVC, MSVC states 
>that it has detected lines ending on CR. In fact, the lines in the 
>checkedout file end up with CR CR LF, all of them. The original file on 
>another computer only contains CR LF. When I copy this file directly to the 
>MSVC system, it works without problems. Could someone tell me where the 
>additional CR comes from and how I can get rid of it?

You probably had a batch of DOS-formatted files on Linux and didn't bother
converting them to Unix format. Then you put them into the repository.
So the files in fact are considered to contain character 13 at the end
of each line, exactly what DOS text files look like on Unix.

When CVS checks these out to a Windows box, it assumes that a conversion
must take place, since they are assumed to be Unix files. So CR LF
becomes CR CR LF.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]