Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rg/copy-gecos-username'
[gitweb.git]
/
compat
/
regex
/
regex_internal.c
diff --git
a/compat/regex/regex_internal.c
b/compat/regex/regex_internal.c
index dad17a8131cf780e4d88029c6e81e87098a0ce2c..193854cf5b609d714b03218bd507af840d478c6e 100644
(file)
--- a/
compat/regex/regex_internal.c
+++ b/
compat/regex/regex_internal.c
@@
-692,10
+692,10
@@
re_string_reconstruct (re_string_t *pstr, int idx, int eflags)
}
else
{
+#ifdef RE_ENABLE_I18N
/* No, skip all characters until IDX. */
int prev_valid_len = pstr->valid_len;
-#ifdef RE_ENABLE_I18N
if (BE (pstr->offsets_needed, 0))
{
pstr->len = pstr->raw_len - idx + offset;