octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #59238] load variables from file: the next sav


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59238] load variables from file: the next saving operation produces a faulty file
Date: Tue, 20 Oct 2020 15:09:41 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36 Edg/86.0.622.43

Follow-up Comment #17, bug #59238 (project octave):

The only change in that time frame that is remotely related is this one:
https://hg.savannah.gnu.org/hgweb/octave/rev/159b6a1eb408

But I fail to understand how that could have any influence on line endings.
Since that change, we use the constructor of `ifstream` and `ofstream` with
`wchar_t` instead of `char`:
https://docs.microsoft.com/en-us/cpp/standard-library/fstream-typedefs?view=vs-2019#ifstream
https://docs.microsoft.com/en-us/cpp/standard-library/basic-ifstream-class?view=vs-2019#basic_ifstream

The stream itself should be the same...

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59238>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]