annotate .dir-locals.el @ 31542:2f08a53e0a23

Fix scanf handling of exceptional values (NA, NaN, Inf) at EOF (bug #63383) * oct-stream.cc (octave_scan): After skipping whitespace, check stream with is.good() before proceeding to read a value. * lo-utils.cc (read_inf_nan_na): Use is.peek() after successfully reading Inf or NaN to possibly set EOF bit. * lo-utils.cc (read_fp_value): Add extra test that value is not NA or NaN before changing it to -value when negative '-' character present. * io.tst: Mark fixed BIST tests with '*' regression marker. Add BIST tests for exceptional '+' character and for +/-NA, +/-NaN.
author Rik <rik@octave.org>
date Fri, 25 Nov 2022 08:30:30 -0800
parents df203b20cfc6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13105
3d7a4a2d9cef Make .h files open in c++-mode in Emacs; make sure gnu style is set for C mode
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 9966
diff changeset
1 ((nil .
3d7a4a2d9cef Make .h files open in c++-mode in Emacs; make sure gnu style is set for C mode
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 9966
diff changeset
2 ((c-file-style . "gnu")
3d7a4a2d9cef Make .h files open in c++-mode in Emacs; make sure gnu style is set for C mode
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 9966
diff changeset
3 (indent-tabs-mode . nil)
26681
df203b20cfc6 eliminate eval in Emacs .dir-locals file
John W. Eaton <jwe@octave.org>
parents: 17588
diff changeset
4 (fill-column . 72)))
9966
d4dab9605c49 correctly set indent-tabs-mode for ChangeLogs and Makefiles in .dir-locals.el
John W. Eaton <jwe@octave.org>
parents: 9933
diff changeset
5 (change-log-mode . ((indent-tabs-mode . t)))
d4dab9605c49 correctly set indent-tabs-mode for ChangeLogs and Makefiles in .dir-locals.el
John W. Eaton <jwe@octave.org>
parents: 9933
diff changeset
6 (makefile-mode . ((indent-tabs-mode . t))))