mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 00:46:16 +01:00
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:
parent
1c6da5c724
commit
b021642caf
@ -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
|
||||
|
@ -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 == '[')
|
||||
|
Loading…
Reference in New Issue
Block a user