[Monetdb-developers] [Monetdb-pf-checkins] pathfinder/src/sqlhelpers/xmlshred xmlshred.c, , 1.19, 1.20

Sjoerd Mullender sjoerd at acm.org
Thu Sep 13 15:49:58 CEST 2007


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
> Monetdb-pf-checkins at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins


-- 
Sjoerd Mullender

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 370 bytes
Desc: OpenPGP digital signature
URL: <http://www.monetdb.org/pipermail/developers-list/attachments/20070913/4f4d1663/attachment.sig>


More information about the developers-list mailing list