git: Add strcasecmp() and strncasecmp().

看板DFBSD_commit作者時間16年前 (2010/04/15 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1BnWC0zS (DFBSD_commit)