On 29 July 2011 02:30, Jacob Nevins <no-reply.invalid-addr...@gna.org> wrote:
> Attached patch makes secfile reading treat \r\n and \n\r line endings the
> same as \n, if it sees them (e.g., if opening a file with DOS/Windows line
> endings on Unix).
> Tested on Unix. I haven't checked what happens with a Windows build of
> Freeciv opening a Unix file in text mode; it depends if fgets() treats the
> lone \n as a line ending.
> This probably wants some testing...

 I don't know if there's anything in this patch making Windows testing
necessary, but I made a Windows build with it regardless for your
testing pleasure.


 - ML

Freeciv-dev mailing list

Reply via email to