Manuel Mayr wrote: > Update of /cvsroot/monetdb/pathfinder/src/sqlhelpers/xmlshred > In directory > sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12897/src/sqlhelpers/xmlshred > > Modified Files: > xmlshred.c > Log Message: > > > -- snprintf "bug" > -- fn:number implemented > > > Index: xmlshred.c > =================================================================== > RCS file: /cvsroot/monetdb/pathfinder/src/sqlhelpers/xmlshred/xmlshred.c,v > retrieving revision 1.19 > retrieving revision 1.20 > diff -u -d -r1.19 -r1.20 > --- xmlshred.c 13 Sep 2007 11:46:08 -0000 1.19 > +++ xmlshred.c 13 Sep 2007 13:40:21 -0000 1.20 > @@ -281,8 +281,10 @@ > guideout = SHopen_write (guideoutfile); > } > > + > + char outfile[FILENAME_MAX]; > snprintf (status.outfile, FILENAME_MAX, "%s.csv", status.outfile);
Shouldn't you chante status.outfile to outfile here? > - shout = SHopen_write (status.outfile); > + shout = SHopen_write (outfile); > } > else > shout = stdout; > > > ------------------------------------------------------------------------- > 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 -- Sjoerd Mullender
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- 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-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-developers
