Raymond Toy pushed to branch issue-306-lisp.c at cmucl / cmucl
Commits:
-
11b0847b
by Raymond Toy at 2024-07-24T09:15:12-07:00
-
ab21364d
by Raymond Toy at 2024-07-24T09:20:31-07:00
1 changed file:
Changes:
... | ... | @@ -451,7 +451,7 @@ locate_core(const char* cmucllib, const char* core, const char* default_core) |
451 | 451 | }
|
452 | 452 | |
453 | 453 | if (core && access(core, R_OK) != 0) {
|
454 | - core = NULL;
|
|
454 | + return NULL;
|
|
455 | 455 | }
|
456 | 456 |
|
457 | 457 | return core;
|
... | ... | @@ -789,6 +789,8 @@ main(int argc, const char *argv[], const char *envp[]) |
789 | 789 | }
|
790 | 790 | }
|
791 | 791 | |
792 | + check_ptr(cmucllib, "cmucllib must not be NULL");
|
|
793 | + |
|
792 | 794 | /* Only look for a core file if we're not using a built-in image. */
|
793 | 795 | if (builtin_image_flag == 0) {
|
794 | 796 | /*
|