From: bdemsky Date: Fri, 1 Sep 2006 00:15:22 +0000 (+0000) Subject: small typo X-Git-Tag: preEdgeChange~836 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2bd5459ff16a801373f73c134356a83b6a74c1d5;p=IRC.git small typo --- diff --git a/Robust/src/Runtime/checkpoint.c b/Robust/src/Runtime/checkpoint.c index 353c5b66..351f9ad7 100644 --- a/Robust/src/Runtime/checkpoint.c +++ b/Robust/src/Runtime/checkpoint.c @@ -60,7 +60,7 @@ void ** makecheckpoint(int numparams, void ** srcpointer, struct SimpleHash * fo SimpleHashadd(forward, (int) objptr, (int) copy); SimpleHashadd(reverse, (int) copy, (int) objptr); SimpleHashadd(todo, (int) objptr, (int) objptr); - *((void **) ((int)cpy)+offset)=copy; + *((void **) (((int)cpy)+offset))=copy; } } } diff --git a/Robust/src/Runtime/runtime.c b/Robust/src/Runtime/runtime.c index 61016094..e474bd17 100644 --- a/Robust/src/Runtime/runtime.c +++ b/Robust/src/Runtime/runtime.c @@ -24,6 +24,8 @@ struct parameterwrapper * objectqueues[NUMCLASSES]; struct genhashtable * failedtasks; int main(int argc, char **argv) { + GC_init(); + { int i; /* Allocate startup object */ struct ___StartupObject___ *startupobject=(struct ___StartupObject___*) allocate_new(STARTUPTYPE); @@ -47,6 +49,7 @@ int main(int argc, char **argv) { ((void **)(((char *)& stringarray->___length___)+sizeof(int)))[i]=newstring; } executetasks(); + } } int hashCodetpd(struct taskparamdescriptor *ftd) {