Mercurial > octave
view .gitattributes @ 31502:b39bf92a2364
scanf: Reset failbit when reaching eof while scanning for whitespace (bug #62723).
* libinterp/corefcn/oct-stream.cc (DO_WHITESPACE_CONVERSION): The failbit is set
on a stream when "get" reaches the eof. Reset the failbit in this case to be
able to distinguish this case from "real" failures.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 22 Nov 2022 12:45:48 +0100 |
parents | c6f9ff84dc84 |
children |