summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/collcmp.c
Commit message (Collapse)AuthorAgeFilesLines
* Forget to merge this changes in prev. MFCache2016-07-221-1/+3
|
* MFC: r302824ache2016-07-221-5/+14
| | | | | | | | | | | | | 1) Eliminate possibility to call __*collate_range_cmp() with inclomplete locale (which cause core dump) by removing whole 'table' argument by which it passed. 2) Restore __collate_range_cmp() in __sccl(). 3) Collating [a-z] range in regcomp() works for single byte locales only (we can't do it for other ones). In previous state only first 256 wide chars are considered and all others are just silently dropped from the range.
* Implement xlocale APIs from Darwin, mainly for use by libc++. This adds atheraven2011-11-201-2/+10
| | | | | | | | | | | | load of _l suffixed versions of various standard library functions that use the global locale, making them take an explicit locale parameter. Also adds support for per-thread locales. This work was funded by the FreeBSD Foundation. Please test any code you have that uses the C standard locale functions! Reviewed by: das (gdtoa changes) Approved by: dim (mentor)
* ANSI'fy prototypesphantom2005-02-271-2/+1
|
* Restore including of "collate.h", for its own prototype (mis)match detectionache2003-08-031-0/+1
|
* Remove commented out and never used codeache2003-08-031-34/+1
|
* Remove __collate_range_cmp() stabilization, it conflicts with rangesache2003-08-031-10/+2
|
* Fix the style of the SCM ID's.obrien2002-03-221-2/+3
| | | | I believe have made all of libc .c's as consistent as possible.
* fix commentache2000-07-071-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Remove collate_range_cmp, was left for temp. backward compatibilityache1997-08-031-10/+1
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Rename collate_range_cmp to __collate_range_cmp for internal usageache1996-10-311-4/+12
| | | | | | | inside libc. Add collate_range_cmp as alias to __collate_range_cmp for temp. backward compatibility. collate_range_cmp will be replaced with direct code for each external program for compatibility with the rest of world
* Simplify debug outputache1996-10-231-4/+12
| | | | Simplify collate_range_cmp for ASCII-compatible collate we have now
* Add comment explaining what function doesache1996-09-171-3/+11
| | | | Cover strcoll return 0 case too
* Add Idache1996-08-141-0/+2
|
* simplify/speedup/extendache1996-08-131-18/+22
|
* Remove old version hooksache1996-08-121-10/+1
|
* There is so many places where range comparation (using collate)ache1996-08-121-9/+20
| | | | | needed (much more than I think initially), so I forced to add new user-visible non-standard function to libc.
* Add internal function __collcmp once instead of adding it staticallyache1996-08-121-0/+61
to many places in the libc
OpenPOWER on IntegriCloud