|
| From: | John W. Eaton |
| Subject: | [Octave-bug-tracker] [bug #58055] ftell() incorrect on MS Windows platforms if file is not encoded with CRLF line endings |
| Date: | Wed, 15 Apr 2020 15:37:34 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Update of bug #58055 (project octave):
Item Group: Matlab Compatibility => Incorrect Result
Status: Confirmed => Ready For Test
_______________________________________________________
Follow-up Comment #22:
0 should work fine there, but yes, nullptr is better.
I don't know how to test whether the user will want to use ftell/fseek on the
stream. I'm also not sure whether the test is needed if the file is only
opened for writing. It seems better to me to try to get the right result. If
someone is worried about performance, maybe don't open the file in text mode.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58055>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |