[Lazarus] EOL character used in .lfm files keep changing

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jun 11 12:38:57 CEST 2009


On Thu, 11 Jun 2009 12:21:47 +0200
Graeme Geldenhuys <graemeg at opensoft.homeip.net> wrote:

>[...]
> This issue is only for non-human edited files, so if Lazarus Form
> Designer used CRLF on all platforms, it shouldn't make a difference -
> excepting fixing patch noise.

lfm files are human edited.

What .lfm patches are bigger than .pas patches because of the line
endings?

 
> A quick script to set all .lfm and .lrs files subversion eol-style
> property to CRLF should fix this too.
> 
> 
> By letting SubVersion silently modify files could corrupt sensitive
> text data files as well. What if I have data files that must stay
> exactly as is, no matter the platform.
> 
> Even the RFC4180 document dictates that CSV files *must* use CRLF as
> the EOL character, no matter what platform is being used. So checking
> in such files into SubVersion with eol-style=native would actually
> corrupt (in theory) those data files.
> 
>   http://www.faqs.org/rfcs/rfc4180.html

What has csv to do with lfm?


Mattias




More information about the Lazarus mailing list