CRLF in CVS.

Chris Johns chrisj at rtems.org
Fri Sep 8 11:58:11 UTC 2006


Hi Joel,

Running the following on a CVS check out on a Linux box:

[chrisjohns at england rtems-4.6.99.3]$ find . -exec file '{}' \; | grep CRLF
./contrib/mingw/README: ASCII English text, with CRLF line terminators
./contrib/mingw/AUTHORS: ASCII text, with CRLF line terminators
./contrib/mingw/rtems.ini: ASCII English text, with very long lines, 
with CRLF line terminators
./contrib/mingw/COPYING: ASCII English text, with CRLF line terminators
./contrib/rtemsrpms/AUTHORS: ASCII text, with CRLF line terminators
./c/src/libchip/network/cs8900.h.bsp: ASCII C program text, with CRLF 
line terminators
./c/src/lib/libcpu/m68k/mcf5282/include/mcf5282.h: ASCII C program text, 
with CRLF line terminators
./c/src/lib/libcpu/arm/s3c2400/include/s3c2400.h: ASCII English text, 
with CRLF, LF line terminators
./c/src/lib/libbsp/arm/gba/configure.ac: ASCII text, with CRLF line 
terminators
./c/src/lib/libbsp/arm/gba/README: ASCII English text, with CRLF line 
terminators
./c/src/lib/libbsp/arm/gp32/smc/smc.h: ASCII C program text, with CRLF, 
LF line terminators
./c/src/lib/libbsp/powerpc/motorola_powerpc/times.mcp750: ASCII English 
text, with CRLF line terminators
./c/src/lib/libbsp/nios2/nios2_iss/start/crtnn.s: ASCII C program text, 
with CRLF line terminators
./c/src/lib/libbsp/mips/hurricane/include/usc.h: ASCII C program text, 
with CRLF line terminators
./testsuites/psxtests/psx04/psx04.scn: ASCII English text, with CRLF 
line terminators

  $ find . -exec file '{}' \; | grep CRLF

shows we have a number of files in CVS that have CRLF line endings. This 
breaks RTEMS if checked out on a Windows box. You get an extra set of 
CRLF's.

Should I fix the source files ?

Regards
Chris



More information about the users mailing list