simh-testsetgenerator/Interdata
Mark Pizzolato 8c325db1ab Various Magtape Devices: Handle Coverity report of tape error status cases
Coverity flagged one magtape simulator for having fewer case breakouts
than the range of MTSE_x errors, after they were expanded for
MTSE_LEOT (listed as "V4 compatibility") and MTSE_RUNAWAY (for
Dave Bryan's implementation of erase and erase gap).

According to Dave, it turns out that MTSE_RUNAWAY can only be
returned if the magtape simulator supports and implements a density
specification and the ERASE function. The simulators Bob Supnik wrote
don't meet that criteria, so the expanded errors can't be returned.

Simply add a "default" case to the map logic returning SCPE_IERR for
unexpected cases.
2022-03-13 11:23:11 -07:00
..
id16_cpu.c ID16, ID32: Compiler warning cleanup 2020-10-20 03:09:33 -07:00
id16_dboot.c ALL: Massive 'const' cleanup 2016-05-15 15:25:33 -07:00
id16_sys.c All: Declare sim_stop_messages as an array SCPE_BASE long 2020-09-02 15:56:07 -07:00
id32_cpu.c ID16, ID32: Compiler warning cleanup 2020-10-20 03:09:33 -07:00
id32_dboot.c ALL: Massive 'const' cleanup 2016-05-15 15:25:33 -07:00
id32_sys.c All: Declare sim_stop_messages as an array SCPE_BASE long 2020-09-02 15:56:07 -07:00
id_defs.h ALL: Massive 'const' cleanup 2016-05-15 15:25:33 -07:00
id_diag.txt Notes For V3.8 2011-04-15 08:35:43 -07:00
id_dp.c ID32: Fix DP unit busy test 2021-07-21 18:44:35 -07:00
id_fd.c ALL: Correct help text in "SET <unit> LOCKED" MTAB entries 2021-04-19 15:22:15 -07:00
id_fp.c ALL: Massive 'const' cleanup 2016-05-15 15:25:33 -07:00
id_idc.c ALL: Correct help text in "SET <unit> LOCKED" MTAB entries 2021-04-19 15:22:15 -07:00
id_io.c ALL: Massive 'const' cleanup 2016-05-15 15:25:33 -07:00
id_lp.c PDP1, PDP10, PDP11, ID16, ID32, NOVA, VAX: Open LPT, PTP devices for append 2020-04-28 07:09:20 -07:00
id_mt.c Various Magtape Devices: Handle Coverity report of tape error status cases 2022-03-13 11:23:11 -07:00
id_pas.c alpha, HP2100, ID16, ID32, I7094, PDP11 and VAX: Fix array REG definitions 2020-03-06 16:29:17 -08:00
id_pt.c ALL: Massive 'const' cleanup 2016-05-15 15:25:33 -07:00
id_tt.c ID16, ID32: Fixed testing of 8b mode and echoed character (COVERITY) 2017-03-20 07:47:42 -07:00
id_ttp.c ID16, ID32: Fixed testing of 8b mode and echoed character (COVERITY) 2017-03-20 07:47:42 -07:00
id_uvc.c ALL: Massive 'const' cleanup 2016-05-15 15:25:33 -07:00