{
void* result = malloc(size);
if (0 == result) {
- lose("malloc failure");
+ lose("malloc failure\n");
} else {
return result;
}
++argi;
} else if (0 == strcmp(arg, "--core")) {
if (core) {
- lose("more than one core file specified");
+ lose("more than one core file specified\n");
} else {
++argi;
if (argi >= argc) {
- lose("missing filename for --core argument");
+ lose("missing filename for --core argument\n");
}
core = copied_string(argv[argi]);
++argi;
* error. */
if (!end_runtime_options &&
0 == strcmp(arg, "--end-runtime-options")) {
- lose("bad runtime option \"%s\"", argi0);
+ lose("bad runtime option \"%s\"\n", argi0);
}
sbcl_argv[argj++] = arg;
}
core = copied_existing_filename_or_null(lookhere);
free(lookhere);
if (!core) {
- lose("can't find core file");
+ lose("can't find core file\n");
}
}
/* Make sure that SBCL_HOME is set, no matter where the core was
initial_function = load_core_file(core);
if (initial_function == NIL) {
- lose("couldn't find initial function");
+ lose("couldn't find initial function\n");
}
SHOW("freeing core");
free(core);
FSHOW((stderr, "/funcalling initial_function=0x%lx\n",
(unsigned long)initial_function));
create_initial_thread(initial_function);
- lose("CATS. CATS ARE NICE.");
+ lose("CATS. CATS ARE NICE.\n");
return 0;
}