Displaying 1 result from an estimated 1 matches for "extended_opt".
Did you mean:
extended_op
2007 Sep 07
1
"bug" and patch: quadratic running time for strsplit(..., fixed=TRUE) (PR#9902)
...trunk)
Only the first is required to fix strsplit().
Index: src/main/character.c
===================================================================
--- src/main/character.c (revision 42792)
+++ src/main/character.c (working copy)
@@ -357,7 +357,7 @@
int i, j, len, tlen, ntok, slen;
int extended_opt, cflags, fixed_opt, perl_opt;
char *pt = NULL;
- const char *buf, *split = "", *bufp, *laststart;
+ const char *buf, *split = "", *bufp, *laststart, *ebuf = NULL;
regex_t reg;
regmatch_t regmatch[1];
pcre *re_pcre = NULL;
@@ -419,7 +419,8 @@
if(fi...