From 070e0b3f22ef918f89643d0315a45a2f911f7bd6 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Fri, 11 Mar 2022 16:25:08 -0800 Subject: [PATCH] PDP10: Fix LP DEVICE attach logic remove redundant code done by SCP --- PDP10/pdp10_lp20.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/PDP10/pdp10_lp20.c b/PDP10/pdp10_lp20.c index 3f5b52da..e1a82127 100644 --- a/PDP10/pdp10_lp20.c +++ b/PDP10/pdp10_lp20.c @@ -952,10 +952,6 @@ t_stat reason; sim_switches |= SWMASK ('A'); /* position to EOF */ reason = attach_unit (uptr, cptr); /* attach file */ -if (reason == SCPE_OK) { - sim_fseek (uptr->fileref, 0, SEEK_END); - uptr->pos = (t_addr)sim_ftell (uptr->fileref); - } if (lpcsa & CSA_DVON) { int i; for (i = 0; i < dvlnt; i++) { /* Align VFU with new file */