[Git][cmucl/cmucl][master] Fix bug in setting max heap size on sparc.

Raymond Toy rtoy at common-lisp.net
Sat Jan 9 17:43:26 UTC 2016


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/7fe61a2535a4866f8d5b359a01948506609c08b4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20160109/1106085b/attachment.html>


More information about the cmucl-cvs mailing list