summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strxfrm.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix typobapt2015-08-091-5/+3
| | | | | | Remove useless tests before free() Suggested by: jilles
* The collate functions within libc have been using version 1 and 1.2 of thebapt2015-08-071-25/+41
| | | | | | | | | | | | | | | | | | | | | | packed LC_COLLATE binary formats. These were generated with the colldef tool, but the new LC_COLLATE files are going to be generated by the new localedef tool using CLDR POSIX files as input. The BSD-flavored version of localedef identifies the format as "BSD 1.0". Any LC_COLLATE file with a different version will simply not be loaded, and all LC* categories will get set to "C" (aka "POSIX") locale. This work is based off of Nexenta's contribution to Illumos. The integration with xlocale is John Marino's work for Dragonfly. The following commits will enable localedef tool, disable the colldef tool, add generated colldef directory, and finally remove colldef from base. The only difference with Dragonfly are: - a few fixes to build with clang - And identification of the flavor as "BSD 1.0" instead of "Dragonfly 4.4" Obtained from: Dragonfly
* Implement xlocale APIs from Darwin, mainly for use by libc++. This adds atheraven2011-11-201-3/+19
| | | | | | | | | | | | 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)
* Further simplify the code.delphij2008-10-191-11/+2
| | | | Submitted by: Christoph Mallon <christoph.mallon gmx.de>
* Use strlcpy() in !localized case to avoid the -1's.delphij2008-10-171-2/+1
|
* Style: One space between "restrict" qualifier and "*".tjr2002-09-061-1/+1
|
* - Add the 'restrict' qualifier required by IEEE Std 1003.1-2001robert2002-08-141-4/+1
| | | | | | | to the function definition of strxfrm(3) in form of our '__restrict' macro. - Use an ANSI-C function definition for strxfrm(3). - Change the manual page accordingly.
* rcsid[]->__FBSDIDobrien2001-11-071-4/+2
|
* Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files.obrien2001-05-241-2/+5
| | | | Do the same for the non-wcs*/wmem* files while I'm here.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* fix wrong return resultache1999-02-121-19/+24
| | | | | fix n=0 case improve manpage
* Fix handling more than 1 char with non-C localeache1998-06-051-16/+4
| | | | | | Misc. cleanup PR: 6825 Submitted by: Sergey Gershtein <sg@mplik.ru>
* 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.
* Back out fallback approximation changes, they are not so right to liveache1996-08-131-17/+5
|
* Use better approximation if collate info not available.ache1996-06-091-6/+18
| | | | Fix bug: strxfrm+strcmp != strcoll, if collate info not available
* Minor optimization.ache1995-02-181-7/+9
|
* Copyrights cleanupache1995-02-181-7/+1
|
* Add 8bit collate stuffache1995-02-161-35/+64
| | | | Submitted by: alex@elvisti.kiev.ua
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+67
OpenPOWER on IntegriCloud