Update of /cvsroot/monetdb/pathfinder/compiler/debug
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16467/compiler/debug
Modified Files:
Tag: M5XQ
coreprint.c
Log Message:
propagated changes of Monday May 18 2009
from the development trunk to the M5XQ branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/05/18 - sjoerd: compiler/debug/coreprint.c,1.52
propagated changes of Monday May 18 2009
from the May2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/05/18 - sjoerd: compiler/debug/coreprint.c,1.51.2.1
Fix compiler warning: format not a string literal and no format arguments.
The compiler on Ubuntu Jaunty complains about this.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
U coreprint.c
Index: coreprint.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/debug/coreprint.c,v
retrieving revision 1.50.4.1
retrieving revision 1.50.4.2
diff -u -d -r1.50.4.1 -r1.50.4.2
--- coreprint.c 7 May 2009 14:45:52 -0000 1.50.4.1
+++ coreprint.c 18 May 2009 15:24:34 -0000 1.50.4.2
@@ -151,7 +151,7 @@
static char label[32];
/** Print node with no content */
-#define L0(t) snprintf (label, sizeof(label), (t))
+#define L0(t) snprintf (label, sizeof(label), "%s", (t))
/** Print node with single content */
#define L2(l1, l2) snprintf (label, sizeof(label), "%s [%s]", (l1),
(l2))
/** Print node with two content parts */
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins