bin: fix handling of \r\n with %>

Fix issue #380.

* bin/common_finput.cc: Erase a trailing \r.
* tests/core/ltl2tgba2.test: Test it.
* NEWS: Mention the fix.
This commit is contained in:
Alexandre Duret-Lutz 2019-03-20 21:31:11 +01:00
parent af67c04a67
commit 7af47c7db5
3 changed files with 15 additions and 1 deletions

6
NEWS
View file

@ -15,6 +15,12 @@ New in spot 2.7.2.dev (not yet released)
'ltldo ltl2dstar -f 'GFa -> GFb' | autfilt --small' produces 1
state instead of 4.)
Bugs fixed:
- When processing CSV files with MSDOS-style \r\n line endings,
--stats would output the \r as part of the %> sequence instead
of ignoring it.
New in spot 2.7.2 (2019-03-17)
Python: