X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ftoplevel.lisp;h=9632d08678d6bcbc4cfa5f08e854f97571b08d30;hb=829ced3e78a23ba153ba4db64e6ea6984c2313b6;hp=f5a7aa9fc3f867ad7ed0de61a9d6d638f688f1d8;hpb=62964aced3a1480849e0bc9de1b0ca927b2e2475;p=sbcl.git diff --git a/src/code/toplevel.lisp b/src/code/toplevel.lisp index f5a7aa9..9632d08 100644 --- a/src/code/toplevel.lisp +++ b/src/code/toplevel.lisp @@ -131,7 +131,7 @@ means to wait indefinitely.") (let ((*current-error-depth* (1+ *current-error-depth*))) (/show0 "in INFINITE-ERROR-PROTECT, incremented error depth") ;; arbitrary truncation - #!+sb-show (sb!debug:backtrace 8) + #!+sb-show (sb!debug:print-backtrace :count 8) ,@forms))) ;;; a helper function for INFINITE-ERROR-PROTECT @@ -198,7 +198,7 @@ any non-negative real number." (when (or (not (realp seconds)) (minusp seconds)) (error 'simple-type-error - :format-control "Invalid argument to SLEEP: -1, ~ + :format-control "Invalid argument to SLEEP: ~S, ~ should be a non-negative real." :format-arguments (list seconds) :datum seconds @@ -497,7 +497,8 @@ any non-negative real number." ;; Delete all the options that we processed, so that only ;; user-level options are left visible to user code. - (setf (rest *posix-argv*) options) + (when *posix-argv* + (setf (rest *posix-argv*) options)) ;; Disable debugger before processing initialization files & co. (when disable-debugger