X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fcold-init.lisp;h=edeb78774baa75e29098d6fe51236224e9332852;hb=829ced3e78a23ba153ba4db64e6ea6984c2313b6;hp=c343f4a51cb00415a359b1611c66e94c8760f81e;hpb=dd54f9e004a0a83d1328e94648f48dcc27e0be5b;p=sbcl.git diff --git a/src/code/cold-init.lisp b/src/code/cold-init.lisp index c343f4a..edeb787 100644 --- a/src/code/cold-init.lisp +++ b/src/code/cold-init.lisp @@ -230,7 +230,8 @@ (show-and-call stream-cold-init-or-reset) (show-and-call !loader-cold-init) (show-and-call !foreign-cold-init) - #!-win32 (show-and-call signal-cold-init-or-reinit) + #!-(and win32 (not sb-thread)) + (show-and-call signal-cold-init-or-reinit) (/show0 "enabling internal errors") (setf (sb!alien:extern-alien "internal_errors_enabled" boolean) t) @@ -348,10 +349,11 @@ process to continue normally." (setf sb!alien::*default-c-string-external-format* nil) ;; WITHOUT-GCING implies WITHOUT-INTERRUPTS. (without-gcing + ;; Initialize streams first, so that any errors can be printed later + (stream-reinit t) (os-cold-init-or-reinit) (thread-init-or-reinit) - (stream-reinit t) - #!-win32 + #!-(and win32 (not sb-thread)) (signal-cold-init-or-reinit) (setf (sb!alien:extern-alien "internal_errors_enabled" boolean) t) (float-cold-init-or-reinit)) @@ -407,4 +409,4 @@ process to continue normally." (t (sb!sys:%primitive print (hexstr x))))))) (%cold-print x 0)) - (values)) \ No newline at end of file + (values))