Grr, allow '*' in keys, too. (#394262)

2007-01-10  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c (g_key_file_is_key_name): Grr, allow '*' in keys,
        too.  (#394262)



svn path=/trunk/; revision=5239
This commit is contained in:
Matthias Clasen 2007-01-10 13:46:45 +00:00 committed by Matthias Clasen
parent 1c6da5c724
commit b021642caf
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-01-10 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c (g_key_file_is_key_name): Grr, allow '*' in keys,
too. (#394262)
2007-01-09 Behdad Esfahbod <behdad@gnome.org>
* glib/gutils.h: Use a more optimized g_bit_storage() when gcc is

View File

@ -3238,7 +3238,7 @@ g_key_file_is_key_name (const gchar *name)
* since gnome-vfs uses mime-types as keys in its cache.
*/
while (*q && (g_unichar_isalnum (g_utf8_get_char (q)) ||
*q == '-' || *q == '_' || *q == '/' || *q == '+' || *q == '.'))
*q == '-' || *q == '_' || *q == '/' || *q == '+' || *q == '.' || *q == '*'))
q = g_utf8_next_char (q);
if (*q == '[')