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=/branches/glib-2-12/; revision=5240
This commit is contained in:
Matthias Clasen
2007-01-10 13:48:13 +00:00
committed by Matthias Clasen
parent b560a7f308
commit 4a95d9b0b4
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-08 Matthias Clasen <mclasen@redhat.com>
* gthread/gthread-posix.c (g_thread_impl_init): Don't

View File

@@ -3236,7 +3236,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 == '[')