summaryrefslogtreecommitdiff
path: root/libguile/root.c
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>1996-10-20 03:31:08 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>1996-10-20 03:31:08 +0000
commita6c64c3c6df9ae2b8baa0f166887c12270b5d646 (patch)
treef48da551e0239c5357c72fa026d636922b7d5042 /libguile/root.c
parenta23afe534a0de89f47f67d2a0cc9ecae449915f3 (diff)
downloadguile-a6c64c3c6df9ae2b8baa0f166887c12270b5d646.tar.gz
* alist.c, arbiters.c, continuations.c, debug.c, debug.h, eval.c,
eval.h, feature.c, filesys.c, fports.c, gc.c, gsubr.c, init.c, ioext.c, kw.c, list.c, load.c, mallocs.c, numbers.c, numbers.h, pairs.c, pairs.h, ports.c, ports.h, posix.c, procprop.c, procs.c, procs.h, ramap.c, read.c, root.c, srcprop.c, srcprop.h, strports.c, symbols.c, tags.h, throw.c, unif.c, variable.c, vports.c: Cleaned up use of pairs: Don't make any special assumptions about the internal structure of selectors and mutators: SCM_CXR (<e1>) = <e2> --> SCM_SETCXR (<e1>, <e2>), SCM_CXR (<e1>) &= <e2> --> SCM_SETAND_CXR (<e1>, <e2>) etc. (Among other things, this change makes it easier to build Guile with certain compilers which have problems with casted lvalues.)
Diffstat (limited to 'libguile/root.c')
-rw-r--r--libguile/root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/root.c b/libguile/root.c
index 9b620dd1e..104869969 100644
--- a/libguile/root.c
+++ b/libguile/root.c
@@ -193,7 +193,7 @@ cwdr (proc, a1, args, handler, stack_start)
SCM_SETJMPBUF (new_rootcont,
scm_must_malloc ((long) sizeof (scm_contregs),
"inferior root continuation"));
- SCM_CAR (new_rootcont) = scm_tc7_contin;
+ SCM_SETCAR (new_rootcont, scm_tc7_contin);
SCM_DYNENV (new_rootcont) = SCM_EOL;
SCM_BASE (new_rootcont) = stack_start;
SCM_SEQ (new_rootcont) = ++n_dynamic_roots;