Update of /cvsroot/monetdb/pathfinder/compiler/core
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16121/compiler/core

Modified Files:
      Tag: M5XQ
        fs.brg 
Log Message:
propagated changes of Saturday Nov 28 2009
from the XQFT branch to the M5XQ branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/11/28 - stmane: compiler/core/fs.brg,1.79.2.1
  propagated changes of Saturday Nov 28 2009
  from the development trunk to the XQFT branch
  
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2009/11/28 - stmane: compiler/core/fs.brg,1.81
    propagated changes of Sunday Nov 22 2009 - Saturday Nov 28 2009
    from the Nov2009 branch to the development trunk
  
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      2009/11/22 - stmane: compiler/core/fs.brg,1.74.6.5
  
      some more defensive checks
      for recusions running out of stack space
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: fs.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/core/fs.brg,v
retrieving revision 1.73.2.6
retrieving revision 1.73.2.7
diff -u -d -r1.73.2.6 -r1.73.2.7
--- fs.brg      9 Nov 2009 00:03:36 -0000       1.73.2.6
+++ fs.brg      28 Nov 2009 21:29:03 -0000      1.73.2.7
@@ -787,6 +787,9 @@
                                      the current rule */
     PFpnode_t    *kids[MAX_KIDS]; /* leaf nodes of this rule */
 
+    /* guard against too dep recursion */
+    PFrecursion_fence();
+
     /* determine rule that matches for this non-terminal */
     rule = PFfs_rule (STATE_LABEL (p), goalnt);
 
@@ -983,6 +986,9 @@
 {
     PFcnode_t    *c;              /* temporary helper variable */
 
+    /* guard against too dep recursion */
+    PFrecursion_fence();
+
     /*
     PFinfo (OOPS_NOTICE, "processing rule %i", rule);
     */


------------------------------------------------------------------------------
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