Mercurial > octave
changeset 21114:47908b818865
oct-stream.cc: Add FIXME note about bug #46493.
* oct-stream.cc (octave_scan_1): Add FIXME note about bug #46493.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 19 Jan 2016 19:00:31 -0800 |
parents | 2bbbbb96f631 |
children | 629643522cc0 |
files | libinterp/corefcn/oct-stream.cc |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/oct-stream.cc Tue Jan 19 15:58:08 2016 -0800 +++ b/libinterp/corefcn/oct-stream.cc Tue Jan 19 19:00:31 2016 -0800 @@ -1152,6 +1152,13 @@ || c2 == '3' || c2 == '4' || c2 == '5' || c2 == '6' || c2 == '7') is >> std::oct >> ref >> std::dec; + else if (c2 == '8' || c2 == '9') + { + // FIXME: Would like to set error state on octave stream. + // See bug #46493. But only std::istream is input to fcn + // error ("internal failure to match octal format"); + ref = 0; + } else ref = 0; }