1 $DragonFly: src/lib/libpam/patches/openpam_configure.c.patch,v 1.1 2005/07/13 12:34:21 joerg Exp $
3 --- openpam_configure.c.orig 2005-07-07 19:43:40.000000000 +0200
4 +++ openpam_configure.c 2005-07-07 19:44:09.000000000 +0200
6 match_word(const char *str, const char *word)
9 - while (*str && tolower(*str) == tolower(*word))
11 + tolower((unsigned char)*str) == tolower((unsigned char)*word))
13 return (*str == ' ' && *word == '\0');