Update of /cvsroot/monetdb/pathfinder/compiler
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16754/compiler

Modified Files:
        compile.c main.c 
Log Message:
propagated changes of Sunday Feb 03 2008 - Friday Feb 08 2008
from the XQuery_0-22 branch to the development trunk


Index: compile.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/compile.c,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -d -r1.136 -r1.137
--- compile.c   6 Feb 2008 16:09:14 -0000       1.136
+++ compile.c   8 Feb 2008 22:38:18 -0000       1.137
@@ -327,8 +327,6 @@
     /* setup sementation fault signal handler */
     signal (SIGSEGV, segfault_handler);
 #endif
-    PFerrbuf = malloc(OOPS_SIZE);
-    PFerrbuf[0] = 0;
     /*******************************************/
     /* Split Point: Logical Algebra XML Import */
     /*******************************************/
@@ -887,6 +885,7 @@
             /* algebra MIL/MAL generation could/should also use it.. */
             proot = PFheuristic_index (proot);
         }
+        PFns_init ();
         PFqname_init ();
         PFns_resolve (proot);
         PFextract_options (proot);

Index: main.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/main.c,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- main.c      11 Jan 2008 10:46:56 -0000      1.97
+++ main.c      8 Feb 2008 22:38:18 -0000       1.98
@@ -627,6 +627,9 @@
     /* URL of query file (if present) */
     char *url = "-";
 
+    PFerrbuf = malloc(OOPS_SIZE);
+    PFerrbuf[0] = 0;
+
     PFmem_init ();
     /*
      * Determine basename(argv[0]) and dirname(argv[0]) on *copies*


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to