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: A.R. Burgers
Subject: [Octave-bug-tracker] [bug #58055] fgetl() reads in beyond newline according to following ftell()
Date: Sun, 29 Mar 2020 14:56:29 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763

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

matlab produces this with fseek(istream,fpos,-1), the -1 added since matlab
requires an origin argument.


>> version
ans = '9.4.0.813654 (R2018a)'

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



    _______________________________________________________

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]