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.

 http://www.cazfi.net/~cazfi/fcwintest/freeciv-2.3.0-RC1+-r20033.zip


 - ML

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to