1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-15 16:07:01 +00:00

LLOGO loader needs to close INFILE.

Or else SUSPEND won't do its job.  Probably this wasn't needed when
LLOGO was written, but Maclisp changed over time.
This commit is contained in:
Lars Brinkhoff 2018-09-27 07:29:20 +02:00
parent 622009105a
commit 04bb06e0eb

View File

@ -144,6 +144,8 @@ UUO:/ ) (PRINC (COND ((NUMBERP PURE) (* PURE 2048.)) (0.)))
(PUTPROP 'LLOGO (LIST DUMP (READ)) 'VERSION))
(UCLOSE)
(PURIFY 0. 0. 'BPORG)
(IF (NOT (EQ INFILE T))
(CLOSE (PROG1 INFILE (INPUSH -1))))
(SUSPEND (ATOMIZE ':SYMLOD EOL ':PDUMP/ LLOGO/;TS/ DUMP EOL ':KILL/ )))
(DUMP (IOG NIL (PRINC 'VERSION/ NUMBER?/ )
(PUTPROP 'LLOGO (LIST DUMP (READ)) 'VERSION))