]> sigrok.org Git - libsigrok.git/commit
input/csv: Correctly skip over last processed end-of-line sequence
authorGerhard Sittig <redacted>
Mon, 5 Jun 2017 14:41:42 +0000 (16:41 +0200)
committerUwe Hermann <redacted>
Tue, 6 Jun 2017 21:28:00 +0000 (23:28 +0200)
commit241c386a4f727faa7c8379ae9212661011aa50ae
tree9fea15970fbbd1dd274e0feff27e949ea9119da4
parent4555d3bda00ed6f12016d4aca28bbef3cb459988
input/csv: Correctly skip over last processed end-of-line sequence

The CSV input module supports variable length end-of-line encodings
(either CRLF, or CR, or LF). When a bunch of accumulated text lines got
processed, do skip the corresponding number of characters after the end
of the last processed line.

This fixes one of the issues discussed in bug #635.
src/input/csv.c