|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #65390] fscanf produces 1 line too much |
Date: | Sat, 2 Mar 2024 14:43:52 -0500 (EST) |
Follow-up Comment #10, bug #65390 (group octave): I just spent an hour on this and am still no closer to a solution. There are several levels of function calls and the code is manipulating the stream state bits to communicate information in an out-of-band manner up and down the stack. It would probably be wiser to actually have R/W parameters to the various functions so that we could easily distinguish between a true error on the stream and an EOF which should really just break out of various looping structures. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?65390> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |