mirror of
https://github.com/open-simh/simh.git
synced 2026-02-26 17:03:56 +00:00
TAPE: Fix P7B record length return when encountering a tape mark
This commit is contained in:
@@ -944,8 +944,10 @@ else switch (f) { /* otherwise the read me
|
||||
*bc = sbc; /* save rec lnt */
|
||||
(void)sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /* for read */
|
||||
uptr->pos = uptr->pos + sbc; /* spc over record */
|
||||
if (all_eof) /* tape mark? */
|
||||
if (all_eof) { /* tape mark? */
|
||||
status = MTSE_TMK;
|
||||
*bc = 0;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user