Grr, allow '*' in keys, too. (#394262)
authorMatthias Clasen <mclasen@redhat.com>
Wed, 10 Jan 2007 13:46:45 +0000 (13:46 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 10 Jan 2007 13:46:45 +0000 (13:46 +0000)
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

ChangeLog
glib/gkeyfile.c

index a76305b..ab72c51 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index ca4b763..a219c78 100644 (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 == '[')