Raymond Toy pushed to branch master at cmucl / cmucl
Commits: 7fe61a25 by Raymond Toy at 2016-01-09T09:43:13Z Fix bug in setting max heap size on sparc.
Forgot to put in an else clause if the specified size was 0.
- - - - -
1 changed file:
- src/lisp/lisp.c
Changes:
===================================== src/lisp/lisp.c ===================================== --- a/src/lisp/lisp.c +++ b/src/lisp/lisp.c @@ -657,8 +657,9 @@ main(int argc, const char *argv[], const char *envp[]) } if (dynamic_space_size == 0) { dynamic_space_size = DYNAMIC_SPACE_SIZE; - } - dynamic_space_size *= 1024 * 1024; + } else { + dynamic_space_size *= 1024 * 1024; + } } #endif if (dynamic_space_size > DYNAMIC_SPACE_SIZE) {
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/7fe61a2535a4866f8d5b359a01...