From 4a95d9b0b4a4465afb7209e5d98b70c0d0a0837e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 10 Jan 2007 13:48:13 +0000 Subject: [PATCH] Grr, allow '*' in keys, too. (#394262) 2007-01-10 Matthias Clasen * glib/gkeyfile.c (g_key_file_is_key_name): Grr, allow '*' in keys, too. (#394262) svn path=/branches/glib-2-12/; revision=5240 --- ChangeLog | 5 +++++ glib/gkeyfile.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e0e858b96..edcec025e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-01-10 Matthias Clasen + + * glib/gkeyfile.c (g_key_file_is_key_name): Grr, allow '*' in keys, + too. (#394262) + 2007-01-08 Matthias Clasen * gthread/gthread-posix.c (g_thread_impl_init): Don't diff --git a/glib/gkeyfile.c b/glib/gkeyfile.c index 8ca4d69cd..d4b9b64bc 100644 --- a/glib/gkeyfile.c +++ b/glib/gkeyfile.c @@ -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 == '[')