#29 PString serialization is not working properly.

closed-fixed
9
2003-01-15
2003-01-07
Petr Tovarys
No

PString::text_read() is not working properly because of invalid
implementation of TextString::read().
TextReader::str() returns _entire_ line (from its begining, not from
current read position), so TextString::read() decodes entire line as a
string.
In addition TextString::read() should not eat everything to end of the
line, but should only extract the text and leave left of the line
unchanged (for other text readers).

Discussion

  • Marek Vondrak
    Marek Vondrak
    2003-01-15

    • status: open --> closed-fixed