Update of /cvsroot/monetdb/pathfinder/compiler/debug
In directory 
sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv6812/compiler/debug

Modified Files:
        logdebug.c 
Log Message:
-- Value-Attribute of Property-Node is optional now.

Index: logdebug.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/debug/logdebug.c,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -d -r1.135 -r1.136
--- logdebug.c  17 Mar 2010 21:56:29 -0000      1.135
+++ logdebug.c  13 Apr 2010 12:06:58 -0000      1.136
@@ -2785,8 +2785,13 @@
        }
        nestSpaces[nest] = '\0';
 
-       fprintf (f, "%s<property name=\"%s\" value=\"%s\"",
-                       nestSpaces, property.name, property.value);
+       fprintf (f, "%s<property name=\"%s\"",
+                       nestSpaces, property.name);
+       if (property.value)
+       {
+           fprintf (f, " value=\"%s\"",
+                       property.value);
+       }
        if (property.properties)
        {
                fprintf (f, ">\n");


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to