Re: [PATCH] contrib: ignore CR in update-copyright.py

2023-03-11 Thread Jeff Law via Gcc-patches
On 1/17/23 05:00, Martin Liška wrote: When opening files, preserve CR characters. By default, open accepts universal newlines, but I think we should only split with '\n'. Ready to be installed? Thanks, Martin contrib/ChangeLog: * update-copyright.py: Split lines only with '\n'. OK.

[PATCH] contrib: ignore CR in update-copyright.py

2023-01-17 Thread Martin Liška
When opening files, preserve CR characters. By default, open accepts universal newlines, but I think we should only split with '\n'. Ready to be installed? Thanks, Martin contrib/ChangeLog: * update-copyright.py: Split lines only with '\n'. --- contrib/update-copyright.py | 4 ++-- 1 fi