1
0
mirror of https://github.com/simh/simh.git synced 2026-01-11 23:52:58 +00:00
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
..
2020-04-03 11:59:59 -07:00
2019-10-06 11:23:06 -07:00
2019-10-06 11:23:06 -07:00
2011-04-15 08:35:20 -07:00
2019-10-06 11:23:06 -07:00
2020-10-19 12:31:02 -07:00
2016-05-15 15:25:33 -07:00
2016-05-15 15:25:33 -07:00
2016-05-15 15:25:33 -07:00