Update of /cvsroot/monetdb/pathfinder/compiler/mil
In directory 
23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv5771/pathfinder/compiler/mil

Modified Files:
      Tag: Nov2009
        mil_dce.c milgen.brg 
Log Message:

some more defensive checks 
for recusions running out of stack space


Index: milgen.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/mil/milgen.brg,v
retrieving revision 1.222.2.6
retrieving revision 1.222.2.7
diff -u -d -r1.222.2.6 -r1.222.2.7
--- milgen.brg  10 Nov 2009 18:15:32 -0000      1.222.2.6
+++ milgen.brg  22 Nov 2009 20:26:37 -0000      1.222.2.7
@@ -2709,6 +2709,9 @@
 {
     mvar_t *v;
 
+    /* guard against too deep recursion */
+    PFrecursion_fence();
+
     switch (rule) {
         /* Query:   serialize (Side, Rel) */
         case 1: /* fold( */

Index: mil_dce.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/mil/mil_dce.c,v
retrieving revision 1.30.2.2
retrieving revision 1.30.2.3
diff -u -d -r1.30.2.2 -r1.30.2.3
--- mil_dce.c   7 Oct 2009 13:47:42 -0000       1.30.2.2
+++ mil_dce.c   22 Nov 2009 20:26:36 -0000      1.30.2.3
@@ -88,6 +88,8 @@
     /* new node, replacing this expression node. */
     PFmil_t *new_op = PFmil_nop();
 
+    PFrecursion_fence ();
+
     for (unsigned int i = 0; i < MIL_MAXCHILD && root->child[i] != NULL; i++) {
 
         PFmil_t *param_op


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to