DragonFly BSD
DragonFly commits List (threaded) for 2010-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: Add strcasecmp() and strncasecmp().


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Apr 2010 09:54:43 -0700 (PDT)

commit 17f09ef2e4c5057cc3df6911f2f7f2ff08db06d8
Author: Rui Paulo <rpaulo@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]