#1106 Extra CR inserted for linefeeds on x64 XP

4_-_Usability
closed
nobody
Core CVS (240)
7
2012-09-15
2007-02-12
fatcop
No

I am using unstable build 1.9.21 on a x64 Windows XP.
(The 1.8 stables still don't support x64 Explorer)

When checking out or updating a project certain files get extra CR characters inserted with each CR-LF pair.
So linefeeds become CR-CR-LF. This is causing VC8 compiler errors.

This does not seem to happen on x32 Windows using a 1.8 stable build. Also using command line CVS on Linux I get clean CR-LF.

The project in particular is: http://ecls.sourceforge.net/cvs.html

The problem occurs for this file (for me anyway):
msvc\gmp\build.vc8\gen-bases\gen-bases.c

(The C files in the following 3 directories have same problem).

The ECLS project owner tested TortoiseCVS and reported similar problems, but with different files. I am not sure what version (x32 or x64) he was using. So though it is consistent for me, other users get different results.

Specifying sandbox as DOS does not help. Specifying it as UNIX helped to some degree, but not fully.

Server: Concurrent Versions System (CVS) 1.12.9 (client/server)

Discussion

  • Logged In: YES
    user_id=382855
    Originator: NO

    This also happens from the command line, using CVSNT 2.5.04.2471.
    It sounds as a case of the problem described in http://tortoisecvs.org/faq.shtml#brokenlineendings.