|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #59238] load variables from file: the next saving operation produces a faulty file |
Date: | Wed, 21 Oct 2020 15:18:45 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #21, bug #59238 (project octave): Some of the load_ascii functions use tellg/seekg (or equivalent) on the input stream. Unless we can avoid those positioning commands, we can't open the files in text mode. I thought that any place where we stored text we also stored the number of characters. Is that not correct? If a tool simply replaces LF with CRLF, couldn't that cause trouble if we have saved strings that have embedded LF characters? _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59238> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |