summaryrefslogtreecommitdiff
path: root/lib/libc/string/strcasecmp.c
Commit message (Collapse)AuthorAgeFilesLines
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* Renumber clauses to reduce diffs to other versionsEd Maste2013-05-281-1/+1
| | | | | | | | NetBSD, OpenBSD, and Android's Bionic number the clauses 1 through 3, so follow suit to make comparison easier. Notes: svn path=/head/; revision=251069
* Revert r227812 and r227808 per discussionEitan Adler2011-12-021-18/+11
| | | | | | | | Reviewed by: many Approved by: des Notes: svn path=/head/; revision=228202
* - fix some style(9) nits with my last commitEitan Adler2011-11-221-3/+4
| | | | | | | | | | - add a comment explaining why I used '|' instead of '||' Submitted by: danfe@ Approved by: emaste@ Notes: svn path=/head/; revision=227812
* - add check for pointer equality prior to performing the O(n) passEitan Adler2011-11-221-11/+17
| | | | | | | | | | | | - while here change 's' to 's1' in strcoll Submitted by: eadler@ Reviewed by: theraven@ Approved by: brooks@ MFC after: 2 weeks Notes: svn path=/head/; revision=227808
* (Hopefully) Fix the build with clang by removing a typedef that's no longer ↵David Chisnall2011-11-211-2/+0
| | | | | | | | | needed. Approved by: brooks (mentor) Notes: svn path=/head/; revision=227807
* Implement xlocale APIs from Darwin, mainly for use by libc++. This adds aDavid Chisnall2011-11-201-6/+25
| | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=227753
* - ANSIfy function definitionsDaniel Gerzo2009-02-031-5/+2
| | | | | | | | | - use nul when we are looking for a terminating character where appropriate Approved by: imp Notes: svn path=/head/; revision=188080
* Per Regents of the University of Calfornia letter, remove advertisingWarner Losh2007-01-091-4/+0
| | | | | | | | | clause. # If I've done so improperly on a file, please let me know. Notes: svn path=/head/; revision=165903
* - Update strcasecmp(3)/strncasecmp(3) to reflect the fact thatRobert Drehmel2002-08-301-1/+1
| | | | | | | | | | | the prototypes for both functions are now in the <strings.h> header, as required by IEEE Std 1003.1-2001. - Add one sentence about that in the HISTORY section. - Include <strings.h> in the source file to have the prototypes in scope when the _ANSI_SOURCE macro is defined. Notes: svn path=/head/; revision=102624
* Remove 'register' keyword.David E. O'Brien2002-03-211-3/+3
| | | | Notes: svn path=/head/; revision=92889
* rcsid[]->__FBSDIDDavid E. O'Brien2001-11-071-5/+2
| | | | Notes: svn path=/head/; revision=86170
* Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files.David E. O'Brien2001-05-241-4/+8
| | | | | | | Do the same for the non-wcs*/wmem* files while I'm here. Notes: svn path=/head/; revision=77117
* Localize it.Andrey A. Chernov1996-06-091-46/+7
| | | | | | | (it was NOT localized initially, it does some trick instead!) Notes: svn path=/head/; revision=16250
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+115
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573