Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
8135c4cf
Commit
8135c4cf
authored
34 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Added two functions, assert-user-package and initial-init-function, for
use by worldload.
parent
b543605a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/save.lisp
+13
-2
13 additions, 2 deletions
code/save.lisp
with
13 additions
and
2 deletions
code/save.lisp
+
13
−
2
View file @
8135c4cf
...
...
@@ -8,7 +8,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/save.lisp,v 1.1.1.
3
1990/07/
02 04
:3
6
:5
8
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/save.lisp,v 1.1.1.
4
1990/07/
13 20
:3
8
:5
6
wlott Exp $
;;;
;;; Dump the current lisp image into a core file. All the real work is done
;;; be C.
...
...
@@ -129,7 +129,6 @@
(
funcall
init-function
)))
(
defun
print-herald
()
(
macrolet
((
frob
(
variable
)
`
(
if
(
boundp
',variable
)
...
...
@@ -145,3 +144,15 @@
(
write-line
(
frob
compiler-version
))
(
write-line
"Send bug reports and questions to Gripe."
))
(
values
))
;;;; Random functions used by worldload.
(
defun
assert-user-package
()
(
unless
(
eq
*package*
(
find-package
"USER"
))
(
error
"Change *PACKAGE* to the USER package and try again."
)))
(
defun
initial-init-function
()
(
gc-on
)
(
throw
'top-level-catcher
nil
))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment