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

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

[Octave-bug-tracker] [bug #58055] fgetl() reads in beyond newline accord


From: Toby
Subject: [Octave-bug-tracker] [bug #58055] fgetl() reads in beyond newline according to following ftell()
Date: Sun, 29 Mar 2020 10:50:55 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0

Follow-up Comment #3, bug #58055 (project octave):

I've attached two files to demonstrate the issue.
When I run these with Octave 5.2.0 on Windows 10 Pro (1809), I get the
following output:

>> demo
ans = 1234 line1
ans = 12345 line2
ans = 123456line3
ans = 1234567 line4
first__pass = 12345678 line5
second_pass = 56line3
ans = 1234567 line4

I'd expect first__pass to be identical to second_pass (after reading to the
end of the file and jumping back to beginnning of line5 via fseek()).
Toby
 

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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