Changeset: c83ecc5c88ea for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c83ecc5c88ea
Modified Files:
monetdb5/modules/mal/pcre.c
Branch: Mar2018
Log Message:
Increment with correct value.
diffs (12 lines):
diff --git a/monetdb5/modules/mal/pcre.c b/monetdb5/modules/mal/pcre.c
--- a/monetdb5/modules/mal/pcre.c
+++ b/monetdb5/modules/mal/pcre.c
@@ -649,7 +649,7 @@ single_replace(pcre *pcre_code, pcre_ext
}
if (len > 0) {
strncpy(result + len_result, origin_str
+ off, len);
- len_result += off;
+ len_result += len;
}
prevend = backrefs[i].end;
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list