Update of /cvsroot/monetdb/pathfinder/modules/pftijah/tjc
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv15795/modules/pftijah/tjc
Modified Files:
tjc_main.c
Log Message:
propagated changes of Monday May 18 2009
from the May2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/05/18 - sjoerd: modules/pftijah/tjc/tjc_main.c,1.18.2.1
Fix compiler warning: format not a string literal and no format arguments.
The compiler on Ubuntu Jaunty complains about this.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: tjc_main.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/tjc/tjc_main.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- tjc_main.c 22 Apr 2009 13:37:59 -0000 1.18
+++ tjc_main.c 18 May 2009 15:20:16 -0000 1.19
@@ -196,7 +196,7 @@
stream_printf(GDKerr,"#! WARNING: cannot open output file:
%s.\n",name);
return 0;
}
- fprintf(f,content);
+ fprintf(f,"%s",content);
fclose(f);
return 1;
}
------------------------------------------------------------------------------
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