git: libc: Add wcscasecmp function

John Marino marino at crater.dragonflybsd.org
Mon Nov 21 15:26:43 PST 2011


commit a231d5c7d0005ab35af9cfa29e859bc9a3a9cac9
Author: John Marino <draco at marino.st>
Date:   Mon Nov 21 23:13:43 2011 +0100

    libc: Add wcscasecmp function
    
    This function performs a case-insensitive string comparison test on
    wide characters.  It is a GNU extension, not POSIX.  Some packages
    in pkgsrc require it.

Summary of changes:
 include/wchar.h                             |    1 +
 lib/libc/string/Makefile.inc                |    2 ++
 lib/libc/string/{wcsnlen.c => wcscasecmp.c} |   19 ++++++++++---------
 lib/libc/string/wmemchr.3                   |    6 +++++-
 4 files changed, 18 insertions(+), 10 deletions(-)
 copy lib/libc/string/{wcsnlen.c => wcscasecmp.c} (86%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a231d5c7d0005ab35af9cfa29e859bc9a3a9cac9


-- 
DragonFly BSD source repository





More information about the Commits mailing list