klisp

an open source interpreter for the Kernel Programming Language.
git clone http://git.hanabi.in/repos/klisp.git
Log | Files | Refs | README

commit 412fe034f97fca1160afdd17bb5be87f1bf48890
parent 05746b66644664cd7773c3735634d401b7632aff
Author: Andres Navarro <canavarro82@gmail.com>
Date:   Thu, 17 Mar 2011 20:32:03 -0300

Bugfix: added kstate as requirement to kmem in Makefile. Sometimes after modifying the state struct, random segfaults ocurred because kmem wasn't recompiled.

Diffstat:
Msrc/Makefile | 4++--
Msrc/kmem.c | 1+
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/Makefile b/src/Makefile @@ -54,8 +54,8 @@ kwrite.o: kwrite.c kwrite.h kobject.h kpair.h kstring.h kstate.h kerror.h \ klisp.h kport.h kstate.o: kstate.c kstate.h klisp.h kobject.h kmem.h kstring.h klisp.h \ kground.h kenvironment.h kpair.h keval.h koperative.h kground.h \ - krepl.h kcontinuation.h kapplicative.h kport.h -kmem.o: kmem.c kmem.h klisp.h kerror.h klisp.h + krepl.h kcontinuation.h kapplicative.h kport.h ksymbol.h +kmem.o: kmem.c kmem.h klisp.h kerror.h klisp.h kstate.h kerror.o: kerror.c kerror.h klisp.h kstate.h klisp.h kmem.h kstring.h kauxlib.o: kauxlib.c kauxlib.h klisp.h kstate.h klisp.h kenvironment.o: kenvironment.c kenvironment.h kpair.h kobject.h kerror.h \ diff --git a/src/kmem.c b/src/kmem.c @@ -14,6 +14,7 @@ #include <assert.h> #include "klisp.h" +#include "kstate.h" #include "klimits.h" #include "kmem.h" #include "kerror.h"