Update of /cvsroot/monetdb/pathfinder/src/sqlhelpers/xmlshred
In directory
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17705/src/sqlhelpers/xmlshred
Modified Files:
Tag: PF_ROX
encoding.c
Log Message:
propagated changes of Tuesday Mar 25 2008
from the development trunk to the PF_ROX branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/03/25 - sjoerd: src/sqlhelpers/xmlshred/encoding.c,1.23
propagated changes of Tuesday Mar 25 2008
from the XQuery_0-22 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/03/25 - tsheyar: src/sqlhelpers/xmlshred/encoding.c,1.20.6.3
-- Fix for Sjoerds vsnprintf changes (22 Feb):
1.20 -> 1.20.6.1
1.20.6.1 -> 1.20.6.2
Sjoerd,
I think you forgot to change 'back' this occurrence of vsnprintf.
Could you please double-check if my change is in line with yours.
Thanks,
Jan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: encoding.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/src/sqlhelpers/xmlshred/encoding.c,v
retrieving revision 1.20.4.2
retrieving revision 1.20.4.3
diff -u -d -r1.20.4.2 -r1.20.4.3
--- encoding.c 24 Feb 2008 20:42:59 -0000 1.20.4.2
+++ encoding.c 25 Mar 2008 16:23:11 -0000 1.20.4.3
@@ -690,7 +690,7 @@
if (bufpos < 0 || (unsigned int) bufpos < text_size) {
snprintf ((char *) buf + bufpos,
- MIN (n, BUF_SIZE - bufpos),
+ MIN (n, BUF_SIZE - bufpos) + 1,
"%s",
(char *) chars);
bufpos += MIN (n, BUF_SIZE - bufpos);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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