Skip to content
Snippets Groups Projects
Commit 07aa6ed7 authored by dtc's avatar dtc
Browse files

Call gc_init after validate as the lisp memory map needs to have been

allocated before malloc is called from gc_init on FreeBSD, because
malloc would otherwise allocate from conflicting addresses. Well
spotted by Paul Werkowski.
parent a7070998
No related branches found
No related tags found
No related merge requests found
/* /*
* main() entry point for a stand alone lisp image. * main() entry point for a stand alone lisp image.
* *
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/lisp.c,v 1.20 2000/10/24 13:32:32 dtc Exp $ * $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/lisp.c,v 1.21 2000/10/24 17:45:57 dtc Exp $
* *
*/ */
...@@ -192,8 +192,8 @@ void main(int argc, char *argv[], char *envp[]) ...@@ -192,8 +192,8 @@ void main(int argc, char *argv[], char *envp[])
} }
os_init(); os_init();
gc_init();
validate(); validate();
gc_init();
/* This is the first use of malloc() and must come after the /* This is the first use of malloc() and must come after the
* static memory layout is mmapped to avoid conflicts with possible * static memory layout is mmapped to avoid conflicts with possible
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment