Skip to content

Commit

Permalink
0.8.12.22: Minor changes to make SBCL build itself cleanly with
Browse files Browse the repository at this point in the history
           package locks enabled.
  • Loading branch information
nikodemus committed Jul 5, 2004
1 parent c2fd998 commit fdc38ab
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 29 deletions.
14 changes: 0 additions & 14 deletions src/code/early-fasl.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,6 @@
(make-array 256
:initial-element (lambda ()
(error "corrupt fasl file: losing FOP"))))

;;;; other miscellaneous loading-related stuff


;;;; variables

Expand All @@ -158,15 +155,4 @@
(defvar *fasl-input-stream*)
(declaim (type ansi-stream *fasl-input-stream*))

(defvar *load-print* nil
#!+sb-doc
"the default for the :PRINT argument to LOAD")

(defvar *load-verbose* nil
;; Note that CMU CL's default for this was T, and ANSI says it's
;; implementation-dependent. We choose NIL on the theory that it's
;; a nicer default behavior for Unix programs.
#!+sb-doc
"the default for the :VERBOSE argument to LOAD")

(defvar *load-code-verbose* nil)
13 changes: 13 additions & 0 deletions src/code/target-misc.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,16 @@ the file system."

(defun %byte-blt (src src-start dst dst-start dst-end)
(%byte-blt src src-start dst dst-start dst-end))

;;;; some *LOAD-FOO* variables

(defvar *load-print* nil
#!+sb-doc
"the default for the :PRINT argument to LOAD")

(defvar *load-verbose* nil
;; Note that CMU CL's default for this was T, and ANSI says it's
;; implementation-dependent. We choose NIL on the theory that it's
;; a nicer default behavior for Unix programs.
#!+sb-doc
"the default for the :VERBOSE argument to LOAD")
11 changes: 0 additions & 11 deletions src/cold/shared.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,6 @@

(in-package "SB-COLD")

;;; FIXME: This is embarassing -- SBCL violates SBCL style-package
;;; locks on the host lisp. Rather then find and fix all the cases
;;; right now, let's just remain self-hosting. The problems at least
;;; involve a few defvars and local macros with names in the CL
;;; package.
#+sbcl
(let ((plp (find-symbol PACKAGE-LOCKED-P :sb-ext)))
(when (and plp (fboundp plp))
(dolist (p (list-all-packages))
(sb-ext::unlock-package p))))

;;; prefixes for filename stems when cross-compiling. These are quite arbitrary
;;; (although of course they shouldn't collide with anything we don't want to
;;; write over). In particular, they can be either relative path names (e.g.
Expand Down
6 changes: 3 additions & 3 deletions src/compiler/ltn.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -695,13 +695,13 @@

(when (losers)
(collect ((messages)
(count 0 +))
(notes 0 +))
(flet ((lose1 (string &rest stuff)
(messages string)
(messages stuff)))
(dolist (loser (losers))
(when (and *efficiency-note-limit*
(>= (count) *efficiency-note-limit*))
(>= (notes) *efficiency-note-limit*))
(lose1 "etc.")
(return))
(let* ((type (template-type loser))
Expand All @@ -720,7 +720,7 @@
(t
(aver (ltn-policy-safe-p ltn-policy))
(lose1 "can't trust output type assertion under safe policy")))
(count 1))))
(notes 1))))

(let ((*compiler-error-context* call))
(compiler-notify "~{~?~^~&~6T~}"
Expand Down
2 changes: 1 addition & 1 deletion version.lisp-expr
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
"0.8.12.21"
"0.8.12.22"

0 comments on commit fdc38ab

Please sign in to comment.