On Fri, 16 Oct 2015 21:45:07 +0200
Bo Berglund <[email protected]> wrote:

>[...]
> So instead I figured I could make a samba share on the Pi where the
> dev files reside and then use my Win7 PC which is connected by VPN as
> the vehicle to check out and commit source files. All I need to do is
> to connect my PC to the Pi share and then work with CVS from the PC
> side.
> 
> Until it dawned on me that when CVS on Windows operates it assumes
> line endings as CRLF whereas Linux usually only uses LF.
> 
> So is fpc and/or lazarus sensitive to line endings like shell scripts
> are?

Lazarus and FPC happily read all three line endings.
But when you write code on Linux, Linux line
endings will be created.

This means you can share read-only sources, but the sources you edit
on Linux and Windows should *not* be shared via a samba share.
Checkout cvs/svn/git for each platform and let the version control
system do the conversion for you.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to