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:
parent
622009105a
commit
04bb06e0eb
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user