diff options
author | tjr <tjr@FreeBSD.org> | 2004-09-05 08:30:42 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2004-09-05 08:30:42 +0000 |
commit | 16f5889d652ee6efae45f9ccfb7f65f9c97efaf4 (patch) | |
tree | 6203250c9def2e38b4900eb5e5a064134c75336a /lib/libc/stdio/makebuf.c | |
parent | 24d8f8ddcef45b252500e769bda933ecd4c7c30f (diff) | |
download | FreeBSD-src-16f5889d652ee6efae45f9ccfb7f65f9c97efaf4.zip FreeBSD-src-16f5889d652ee6efae45f9ccfb7f65f9c97efaf4.tar.gz |
Fix two problems with REG_ICASE that were introduced with the addition of
multibyte character support:
- In CHadd(), avoid writing past the end of the character set bitmap when
the opposite-case counterpart of wide characters with values less than
NC have values greater than or equal to NC.
- In CHaddtype(), fix a braino that caused alphabetic characters to be
added to all character classes! (but only with REG_ICASE)
PR: 71367
Diffstat (limited to 'lib/libc/stdio/makebuf.c')
0 files changed, 0 insertions, 0 deletions