Commit 246e31c7 authored by rtoy's avatar rtoy
Browse files

Allow specifying a core with an executable image.

There's no reason why this shouldn't work and tests show that it does
work.  So instead of disallowing it, just print a warning that it is
unusual.  Fred also said this should work; it's just a bit odd running
a 30MB executable with a 30MB core.
parent 55d7f671
* main() entry point for a stand alone lisp image.
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/lisp.c,v 1.82 2011/05/31 13:26:41 rtoy Exp $
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/lisp.c,v 1.83 2011/06/10 19:32:31 rtoy Exp $
......@@ -480,8 +480,8 @@ main(int argc, const char *argv[], const char *envp[])
if (strcmp(arg, "-core") == 0) {
if (builtin_image_flag) {
"Cannot specify core file in executable image --- sorry about that.\n");
"Warning: specifying a core file with an executable image is unusual,\nbut should work.\n");
builtin_image_flag = 0;
if (core != NULL) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment