1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/lib/libc/tests
Yuri Pankov 63cbe8d1d9 regexec: fix processing multibyte strings.
Matcher function incorrectly assumed that moffset that we get from
findmust is in bytes. Fix this by introducing a stepback function,
taking short path if MB_CUR_MAX is 1, and going back byte-by-byte,
checking if we have a legal character sequence otherwise.

PR:		153502
Reviewed by:	pfg, kevans
Approved by:	kib (mentor, implicit)
Differential revision:	https://reviews.freebsd.org/D18297
2018-11-23 15:49:18 +00:00
..
c063
db
gen
hash
iconv
inet
locale
net
nss
regex regexec: fix processing multibyte strings. 2018-11-23 15:49:18 +00:00
resolv
rpc
setjmp
ssp Rework check for libclang_rt to see if the needed library exists. 2018-06-27 16:56:46 +00:00
stdio
stdlib
string
sys Don't build brk_test on platforms that don't support brk(). 2018-06-05 13:06:06 +00:00
termios
time
tls
tls_dso
ttyio
Makefile Connect libc/tests/time to the build, adding test cases for strptime() 2018-10-30 02:37:23 +00:00
Makefile.depend
Makefile.netbsd-tests