diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-08-10 14:19:05 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-08-10 14:27:56 -0700 |
commit | c77bf91b4315efed2b61633567acc7ac3c46959c (patch) | |
tree | b4e3586e8e5e176fb29af83077ff6418e5246446 /posix/tstgetopt.c | |
parent | 2ce7ba7d15b0ea0ea90c6f57ba36e23d190d91bf (diff) | |
download | glibc-c77bf91b4315efed2b61633567acc7ac3c46959c.zip glibc-c77bf91b4315efed2b61633567acc7ac3c46959c.tar.gz glibc-c77bf91b4315efed2b61633567acc7ac3c46959c.tar.bz2 |
regex: Gnulib unibyte RRI uses bytes not chars
Adjust the non-glibc code to agree with what Gawk needs for
rational range interpretation (RRI) for regular expression ranges.
In unibyte locales, Gawk wants ranges to use the underlying byte
rather than the character code point. This change does not affect
glibc proper.
* posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
In unibyte locales, use the byte value rather than
running it through btowc.
Diffstat (limited to 'posix/tstgetopt.c')
0 files changed, 0 insertions, 0 deletions