[svn:parrot] r48795 - trunk/compilers/imcc

plobsing at svn.parrot.org plobsing at svn.parrot.org
Sun Sep 5 00:40:50 UTC 2010


Author: plobsing
Date: Sun Sep  5 00:40:49 2010
New Revision: 48795
URL: https://trac.parrot.org/parrot/changeset/48795

Log:
[TT #1763] always register annotations segment with the containing directory
this way, annotation segments always get cleaned up

Modified:
   trunk/compilers/imcc/pbc.c

Modified: trunk/compilers/imcc/pbc.c
==============================================================================
--- trunk/compilers/imcc/pbc.c	Sat Sep  4 21:26:50 2010	(r48794)
+++ trunk/compilers/imcc/pbc.c	Sun Sep  5 00:40:49 2010	(r48795)
@@ -2376,7 +2376,7 @@
                     &interp->initial_pf->directory;
             interp->code->annotations = (PackFile_Annotations *)
                     PackFile_Segment_new_seg(interp, dir,
-                        PF_ANNOTATIONS_SEG, name, add);
+                        PF_ANNOTATIONS_SEG, name, 1);
             interp->code->annotations->code = interp->code;
 
             /* Create initial group. */


More information about the parrot-commits mailing list