Changeset: cbcb659fd6ee for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=cbcb659fd6ee
Modified Files:
monetdb5/modules/mosaic/mosaic.c
Branch: mosaic
Log Message:
Compilation fix.
diffs (14 lines):
diff --git a/monetdb5/modules/mosaic/mosaic.c b/monetdb5/modules/mosaic/mosaic.c
--- a/monetdb5/modules/mosaic/mosaic.c
+++ b/monetdb5/modules/mosaic/mosaic.c
@@ -74,8 +74,9 @@ static void
/* The dict256 dictionary technique 'dict256' has to be processed
upfront
* to prevent search collision with the variable dictionary technique
'dict'.
*/
+ const char* erased = "_______";
while ( (_dict256 = strstr(compressions, MOSmethods[dict256].name)) ) {
- strncpy (_dict256,"_______", 7);
+ memcpy (_dict256, erased, strlen(erased));
*compression_mask |= MOSmethods[dict256].bit;
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list