Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21544
Modified Files:
Tag: xrpcdemo
serialize.mx
Log Message:
- remove extra 'DIR_SEP' at the end of logdir
- fix sscanf: scan until the next delimiter ','
U serialize.mx
Index: serialize.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/serialize.mx,v
retrieving revision 1.109.4.9
retrieving revision 1.109.4.10
diff -u -d -r1.109.4.9 -r1.109.4.10
--- serialize.mx 11 Jun 2008 07:52:50 -0000 1.109.4.9
+++ serialize.mx 11 Jun 2008 17:32:52 -0000 1.109.4.10
@@ -2026,7 +2026,7 @@
BATiter bi;
if (logdir == NULL) return GDK_FAIL;
- snprintf(base_name, 2048, "%s%cqflow_"LLFMT, logdir, DIR_SEP, xrpc_seqnr);
+ snprintf(base_name, 2048, "%sqflow_"LLFMT, logdir, xrpc_seqnr);
snprintf(dotFile, 2048, "%s.dot", base_name);
/* replace all non-alpha-numeric chars in the string with '_', so
@@ -2060,7 +2060,7 @@
bi = bat_iterator(participants);
BATloop(participants, p, q) {
- if (sscanf(BUNtail(bi,p), "%[^','],%[^','],%[^','],%s,%d", caller,
dst, fcn, time, &xrpc_updating) != 5) {
+ if (sscanf(BUNtail(bi,p), "%[^','],%[^','],%[^','],%[^','],%d",
caller, dst, fcn, time, &xrpc_updating) != 5) {
GDKerror("draw_queryflow: sscanf failed");
stream_destroy(s);
return GDK_FAIL;
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins