diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-03-12 15:37:50 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-03-12 15:39:25 -0700 |
commit | e4f4d8ebacc5b44cd110d201de5b26c90cc849be (patch) | |
tree | 1065b2b39f7e9a4592569851c0598a01e1d25b33 /src/image.lisp | |
parent | 2b89cfb8645afb249f6cc21fe3ae588dae5210be (diff) | |
download | consfigurator-e4f4d8ebacc5b44cd110d201de5b26c90cc849be.tar.gz |
MAPC-OPEN-{INPUT,OUTPUT}-STREAMS: don't use &rest
This brings these functions closer to MAPC.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/image.lisp')
-rw-r--r-- | src/image.lisp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/image.lisp b/src/image.lisp index 76c2fd0..c069569 100644 --- a/src/image.lisp +++ b/src/image.lisp @@ -303,7 +303,8 @@ property by applying it like this: ;; standard about closing synonym streams; see ;; <https://bugs.launchpad.net/sbcl/+bug/1904257>. (loop initially (mapc-open-input-streams - #'close *standard-input* *debug-io* *terminal-io*) + #'close (list *standard-input* + *debug-io* *terminal-io*)) with ,fork-control = (open ,fork-control :element-type 'character) for (input . output) = (handler-case (with-safe-io-syntax () @@ -312,8 +313,8 @@ property by applying it like this: (close ,fork-control) (uiop:quit))) do (mapc-open-output-streams - #'force-output - *standard-output* *error-output* *debug-io* *terminal-io*) + #'force-output (list *debug-io* *terminal-io* + *standard-output* *error-output*)) when (zerop (fork)) do (nix:setsid) (close ,fork-control) |