summaryrefslogtreecommitdiff
path: root/sys/libkern/strcasecmp.c
Commit message (Collapse)AuthorAgeFilesLines
* spdx: initial adoption of licensing ID tags.Pedro F. Giffuni2017-11-181-0/+2
| | | | | | | | | | | | | | | | | | | | 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. Initially, only tag files that use BSD 4-Clause "Original" license. RelNotes: yes Differential Revision: https://reviews.freebsd.org/D13133 Notes: svn path=/head/; revision=325966
* Start copyright notice with /*-Joel Dahl2010-04-071-1/+1
| | | | Notes: svn path=/head/; revision=206360
* Ha! This is a very interesting bug.Pawel Jakub Dawidek2005-08-081-4/+6
| | | | | | | | | | | | | | I copied strcasecmp() from userland to the kernel and it didn't worked! I started to debug the problem and I find out that this line: while (tolower(*us1) == tolower(*us2++)) { was adding _3_ bytes to 'us2' pointer. Am I loosing my minds here?!... No, in-kernel tolower() is a macro which uses its argument three times. Bad tolower(9), no cookie. Notes: svn path=/head/; revision=148865
* Add strcasecmp() and strncasecmp() to libkern and connect to the build.Pawel Jakub Dawidek2005-08-081-0/+69
Notes: svn path=/head/; revision=148861