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 1d0db88073
commit e340e61f24
3 changed files with 14 additions and 2 deletions

6
NEWS
View file

@ -1,6 +1,10 @@
New in spot 2.7.2.dev (not yet released)
Nothing yet.
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)