2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>

Fix breakage in normal/auth.c.

	* normal/auth.c (grub_iswordseparator): New function.
This commit is contained in:
phcoder 2009-08-25 08:11:50 +00:00
parent e7e1f93ff6
commit ff747d50c1
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
Fix breakage in normal/auth.c.
* normal/auth.c (grub_iswordseparator): New function.
2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
Authentication support.

View file

@ -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)
{