History log of /dflybsd-src/lib/libc/tre-regex/Symbol.map (Results 1 – 5 of 5)
Revision Date Author Comments
# dd010514 13-Aug-2021 Sascha Wildner <saw@online.de>

libc: Clean up the Symbol.maps a bit.

* Remove sysv_cond_wait and sysv_cond_signal because these functions
were always static.

* Remove tre_have_approx because this function is only available wit

libc: Clean up the Symbol.maps a bit.

* Remove sysv_cond_wait and sysv_cond_signal because these functions
were always static.

* Remove tre_have_approx because this function is only available with
-DTRE_APPROX which we never used, nor build with right away.

* Remove pthread_init since there was never a pthread_init in libc.
Seems to be just a typo.

* Remove mexitcount which was kernel only.

* Add a comment to a symbol that will only show up when libc is built
with a debug option.

show more ...


# c87aec90 06-Sep-2015 John Marino <draco@marino.st>

Fix libc symbol maps after build test

The following modifications (typos, bugs, missing symbols,
extra symbols) allows buildworld to complete with libc versioning
turned on (a first). After perform

Fix libc symbol maps after build test

The following modifications (typos, bugs, missing symbols,
extra symbols) allows buildworld to complete with libc versioning
turned on (a first). After performance verification via dports
bulk build, the versioning will be activated.

show more ...


# 012b8ed8 20-Aug-2015 Sascha Wildner <saw@online.de>

libc/regex: Fix up the regex upgrade.

* Fix typo in 3 function names: s/regnw/regwn/.

* Add missing overriding #defines for 4 further functions to <regex.h>.


# 4bda1dff 07-Aug-2015 John Marino <draco@marino.st>

Review libc symbol maps

The two previous attempts to version libc failed, so I'm going to start
reviewing each map individually and correct as I find errors. No-op.


# 6af9a77b 06-Aug-2015 John Marino <draco@marino.st>

libc/regex: Replace old regex library with modified TRE

The existing DragonFly REGEX library has several limitations, including
lack of wide character support and no collation ability due to its bei

libc/regex: Replace old regex library with modified TRE

The existing DragonFly REGEX library has several limitations, including
lack of wide character support and no collation ability due to its being
locked to POSIX/C locale. It's also slow and doesn't pass a number of
tests of the AT&T Research Regex testsuite:

basic : TEST testregex, 539 tests, 0 errors
categorize : TEST testregex, 20 tests, 0 errors
nullsubexpr : TEST testregex, 84 tests, 31 errors
leftassoc : TEST testregex, 12 tests, 12 errors
rightassoc : TEST testregex, 24 tests, 0 errors
forcedassoc : TEST testregex, 48 tests, 8 errors
repetition : TEST testregex, 129 tests, 37 errors

Now it achieves these scores (elevated with new regnexec support):

basic : TEST testregex, 808 tests, 0 errors
categorize : TEST testregex, 26 tests, 0 errors
nullsubexpr : TEST testregex, 172 tests, 0 errors
leftassoc : TEST testregex, 12 tests, 12 errors
rightassoc : TEST testregex, 36 tests, 0 errors
forcedassoc : TEST testregex, 84 tests, 0 errors
repetition : TEST testregex, 241 tests, 0 errors

Here's proof that the regex library is now locale sensitive:

> env LANG=C sed /abandonn[a-z]/d fwl-sort-C.txt
a
abandonnâmes
abandonnât
abandonnâtes
abandonnèrent
abandonné
abandonnée
abandonnées
abandonnés
abord
abords
absence

> env LANG=fr_FR sed /abandonn[a-z]/d fwl-sort-C.txt
a
abord
abords
absence
accepta
acceptai
acceptaient
acceptais
acceptait
acceptant
acceptas
acceptasse

Several new functions have been added to to libc:

variations of regcomp: regcomp_l,
regncomp, regncomp_l,
regwcomp, regwcomp_l,
regnwcomp, regnwcomp_l

variations of regexec: regnexec, regwexec, regwnexec

The regex.3 and re_format.7 map pages have been updated and symlinked
accordingly.

show more ...