diff --git a/ChangeLog b/ChangeLog index 34694a4ea..4f8c068dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-08-25 Vladimir Serbinenko + + Fix breakage in normal/auth.c. + + * normal/auth.c (grub_iswordseparator): New function. + 2009-08-25 Vladimir Serbinenko Authentication support. diff --git a/normal/auth.c b/normal/auth.c index 1dc61e898..9029ba1ce 100644 --- a/normal/auth.c +++ b/normal/auth.c @@ -48,6 +48,12 @@ grub_auth_strcmp (const char *user_input, const char *template) return !ok; } +static int +grub_iswordseparator (int c) +{ + return (grub_isspace (c) || c == ',' || c == ';' || c == '|' || c == '&'); +} + int grub_auth_strword (const char *haystack, const char *needle) {