git: Add strcasecmp() and strncasecmp().

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Apr 14 09:56:37 PDT 2010


commit 17f09ef2e4c5057cc3df6911f2f7f2ff08db06d8
Author: Rui Paulo <rpaulo at FreeBSD.org>
Date:   Thu Feb 18 13:32:09 2010 +0000

    Add strcasecmp() and strncasecmp().
    
    We can't copy the userland implementation because tolower(9) is an
    evil macro that has bad side effects. Cf FreeBSD log for this file

Summary of changes:
 sys/conf/files                             |    1 +
 {lib/libstand => sys/libkern}/strcasecmp.c |   31 ++++++++++++++-------------
 sys/sys/libkern.h                          |    2 +
 3 files changed, 19 insertions(+), 15 deletions(-)
 copy {lib/libstand => sys/libkern}/strcasecmp.c (80%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/17f09ef2e4c5057cc3df6911f2f7f2ff08db06d8


-- 
DragonFly BSD source repository





More information about the Commits mailing list