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

Modified Files:
        pf_support.mx 
Log Message:
propagated changes of Thursday Nov 08 2007 - Thursday Nov 15 2007
from the XQuery_0-20 branch to the development trunk



Index: pf_support.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pf_support.mx,v
retrieving revision 1.269
retrieving revision 1.270
diff -u -d -r1.269 -r1.270
--- pf_support.mx       24 Oct 2007 08:03:47 -0000      1.269
+++ pf_support.mx       15 Nov 2007 19:37:10 -0000      1.270
@@ -5775,8 +5775,6 @@
         n = strspn (cur, ws);
         if (n)
         {
-            *pointer = ' ';
-            pointer++;
             cur += n;
         }
 
@@ -5796,6 +5794,9 @@
                 cur += n;
             }
         }
+        if (pointer > *res && pointer[-1] == ' ') {
+            pointer--;
+        }
         *pointer = '\0';
 
         return GDK_SUCCEED;


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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