Changeset: fc56ec8e975d for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=fc56ec8e975d Modified Files: sql/backends/monet5/wlr.c Branch: gdk_tracer Log Message:
compile fix (may need some more improvements) diffs (13 lines): diff --git a/sql/backends/monet5/wlr.c b/sql/backends/monet5/wlr.c --- a/sql/backends/monet5/wlr.c +++ b/sql/backends/monet5/wlr.c @@ -517,7 +517,8 @@ WLRreplicate(Client cntxt, MalBlkPtr mb, else if( getArgType(mb, pci, 1) == TYPE_timestamp){ timestamp_tostr(&slimit, &size, (timestamp*) getArgReference(stk, pci, 1), TRUE); - strncpy(wlr_timelimit, slimit, sizeof(wlr_timelimit)); + strncpy(wlr_timelimit, slimit, sizeof(wlr_timelimit)-1); + wlr_timelimit[sizeof(wlr_timelimit)-1] = 0; GDKfree(slimit); } else if( getArgType(mb, pci, 1) == TYPE_bte) _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list