diff options
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) |