Tk Library Source Code

View Ticket
Login
Ticket UUID: 2926387
Title: csv::read2queue mishandles embedded newlines
Type: Bug Version: None
Submitter: dvrsn Created on: 2010-01-05 18:18:47
Subsystem: csv Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2010-01-20 03:22:49
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2010-01-19 20:22:49
Description:
Just a typo.  read2queue correctly buffers incomplete lines, but then calls split on the last line read rather than on the buffered multiline data.
User Comments: andreas_kupries added on 2010-01-20 03:22:49:

allow_comments - 1

andreas_kupries added on 2010-01-20 03:22:48:
Fixed. Change committed to head. Version bumped to 0.7.2.

andreas_kupries added on 2010-01-19 05:04:15:
Thank you very much.

dvrsn added on 2010-01-19 04:21:09:
Example script attached.
read2matrix does not have the same bug.

dvrsn added on 2010-01-19 04:20:44:

File Added - 359403: csvtest.tcl

andreas_kupries added on 2010-01-19 03:26:23:
Do you have an example script I could convert into a test case ?
- TODO - Comparison to internals of read2matrix. Same bug there ?

Attachments: