glib r5431 - in trunk: . glib tests
- From: cpwilson svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r5431 - in trunk: . glib tests
- Date: Thu, 22 Mar 2007 08:59:00 +0000 (GMT)
Author: cpwilson
Date: 2007-03-22 08:58:59 +0000 (Thu, 22 Mar 2007)
New Revision: 5431
ViewCVS link: http://svn.gnome.org/viewcvs/glib?rev=5431&view=rev
Modified:
trunk/ChangeLog
trunk/glib/gkeyfile.c
trunk/tests/keyfile-test.c
Log:
2007-03-22 Chris Wilson <chris chris-wilson co uk>
* glib/gkeyfile.c: Track whether the last key=value pair in a group
is a blank line and during to_data() only insert a new blank line
betweens group in its absence. This allows the beautification of the
GKeyFile and prevents newlines being inserted indefinitely. (#420686)
* tests/keyfile-test.c (test_reload_idempotency): Test that after a
single beautification pass, g_key_file_to_data() does not alter its
input data.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]