[plt-dev] typo in src/mzscheme/gc2/newgc.c triggered by --enable-backtrace

From: Marijn Schouten (hkBst) (hkBst at gentoo.org)
Date: Mon Aug 3 11:52:08 EDT 2009

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

there is a typo in src/mzscheme/gc2/newgc.c triggered which is triggered by
configuring with --enable-backtrace.[1]

diff -ur plt-4.2.1.orig/src/mzscheme/gc2/newgc.c plt-4.2.1/src/mzscheme/gc2/newgc.c
- --- plt-4.2.1.orig/src/mzscheme/gc2/newgc.c	2009-07-16 14:28:05.000000000 +0200
+++ plt-4.2.1/src/mzscheme/gc2/newgc.c	2009-08-03 13:58:23.000000000 +0200
@@ -2331,7 +2331,7 @@
               sizes[tag] += info->size;
             }
             if (tag == trace_for_tag) {
- -              register_traced_object(obj_staart);
+              register_traced_object(obj_start);
               if (for_each_found)
                 for_each_found(obj_start);
             }

fixes it.

Marijn

[1]:http://bugs.gentoo.org/show_bug.cgi?id=280166

- --
If you cannot read my mind, then listen to what I say.

Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkp3BygACgkQp/VmCx0OL2zQ3ACgrcwePhTp4soyG1kjQKU/D2UB
GsAAn3YIs2ZuCKTpkAifncrU/btON6in
=XLdM
-----END PGP SIGNATURE-----


Posted on the dev mailing list.