mirror of git://sourceware.org/git/glibc.git
posix: fix building regex when _LIBC isn't defined
Reviewed-by: Florian Weimer <fweimer@redhat.com>
This commit is contained in:
parent
5b45674869
commit
e885fd43db
|
|
@ -3301,8 +3301,11 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token,
|
||||||
#ifdef RE_ENABLE_I18N
|
#ifdef RE_ENABLE_I18N
|
||||||
mbcset, &coll_sym_alloc,
|
mbcset, &coll_sym_alloc,
|
||||||
#endif /* RE_ENABLE_I18N */
|
#endif /* RE_ENABLE_I18N */
|
||||||
start_elem.opr.name,
|
start_elem.opr.name
|
||||||
nrules, table_size, symb_table, extra);
|
#ifdef _LIBC
|
||||||
|
, nrules, table_size, symb_table, extra
|
||||||
|
#endif
|
||||||
|
);
|
||||||
if (__glibc_unlikely (*err != REG_NOERROR))
|
if (__glibc_unlikely (*err != REG_NOERROR))
|
||||||
goto parse_bracket_exp_free_return;
|
goto parse_bracket_exp_free_return;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue