Rework the handling of invalid keys/groups again. We are back to being

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

        * glib/gkeyfile.c: Rework the handling of invalid
        keys/groups again. We are back to being liberal about
        what we accept, and only reject things that would lead
        to non-rereadable keyfiles.

        * tests/keyfile-test.c: Adapt tests.



svn path=/trunk/; revision=5254
This commit is contained in:
Matthias Clasen
2007-01-12 20:25:57 +00:00
committed by Matthias Clasen
parent edf06d642d
commit 38b9221961
5 changed files with 116 additions and 11 deletions

View File

@@ -1,3 +1,7 @@
2007-01-12 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/keyfile.sgml: Small clarifications.
2007-01-03 Behdad Esfahbod <behdad@gnome.org>
* glib/glib-sections.txt: Add g_unichar_iszerowidth.

View File

@@ -60,8 +60,8 @@ Key-value pairs generally have the form <literal>key=value</literal>,
with the exception of localized strings, which have the form
<literal>key[locale]=value</literal>. Space before and after the
'=' character are ignored. Newline, tab, carriage return and backslash
characters are escaped as \n, \t, \r, and \\, respectively. To preserve
leading spaces in values, these can also be escaped as \s.
characters in value are escaped as \n, \t, \r, and \\, respectively.
To preserve leading spaces in values, these can also be escaped as \s.
</para>
<para>