libc: Remove libc checks around manual pages from the Makefile.inc's.Handle this better by setting NOMAN for libc_rtld.
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 ...
Revert "Fix various mistakes (s/it were/it was/) in manual pages."This reverts commit e4adeac153e9f588eff22befbf196d2fd3444bc3.
Fix various mistakes (s/it were/it was/) in manual pages.
Fix various grammatical issues in our messages, documentation etc.
libc: Change a few DIAGNOSTICS sections into RETURN VALUES and/or ERRORS.DIAGNOSTICS is for stderr type messages only.
In several standard headers, harmonize checks for legacy defines etc.When something goes away in a certain issue of the standard, alwayscheck with < $standard, not <= $previous_standard. Also, uni
In several standard headers, harmonize checks for legacy defines etc.When something goes away in a certain issue of the standard, alwayscheck with < $standard, not <= $previous_standard. Also, uniformlycheck for __XSI_VISIBLE or __POSIX_VISIBLE being > 0 in these cases.While here, fix a small nit in <sys/wait.h>: wait3() was removedfrom Issue 6, but the requirement to define the rusage structure wasremoved from Issue 7.
libc: Move to a format for specifying MLINKS that's less hard on the eyes.We do it like this in other places of the tree already and will eventuallymove to this everywhere.
re_format.7: Make regex.7 an MLINK.Suggested-by: aly
Add missing restrict qualifiers in POSIX function definitions/declarations.This creates no further -Wrestrict warnings with gcc80 in buildworld.
Correct BSD License clause numbering from 1-2-4 to 1-2-3.
Fix libc symbol maps after build testThe following modifications (typos, bugs, missing symbols,extra symbols) allows buildworld to complete with libc versioningturned on (a first). After perform
Fix libc symbol maps after build testThe following modifications (typos, bugs, missing symbols,extra symbols) allows buildworld to complete with libc versioningturned on (a first). After performance verification via dportsbulk build, the versioning will be activated.
<regex.h>: REG_ENOSYS was removed in Issue 7 but up to 6 it's needed.
regex.3: Add LIBRARY section.
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>.
<regex.h>: Pull in <xlocale.h> for xlocale_t definition
Review libc symbol mapsThe two previous attempts to version libc failed, so I'm going to startreviewing each map individually and correct as I find errors. No-op.
libc/regex: Replace old regex library with modified TREThe existing DragonFly REGEX library has several limitations, includinglack of wide character support and no collation ability due to its bei
libc/regex: Replace old regex library with modified TREThe existing DragonFly REGEX library has several limitations, includinglack of wide character support and no collation ability due to its beinglocked to POSIX/C locale. It's also slow and doesn't pass a number oftests 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 errorsNow 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 errorsHere's proof that the regex library is now locale sensitive:> env LANG=C sed /abandonn[a-z]/d fwl-sort-C.txtaabandonnâmesabandonnâtabandonnâtesabandonnèrentabandonnéabandonnéeabandonnéesabandonnésabordabordsabsence> env LANG=fr_FR sed /abandonn[a-z]/d fwl-sort-C.txtaabordabordsabsenceacceptaacceptaiacceptaientacceptaisacceptaitacceptantacceptasacceptasseSeveral 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, regwnexecThe regex.3 and re_format.7 map pages have been updated and symlinkedaccordingly.