Chris Wilson 033e54e8a4 Track whether the last key=value pair in a group is a blank line and
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.


svn path=/trunk/; revision=5431
2007-03-22 08:58:59 +00:00
..
2005-10-05 17:37:46 +00:00
2005-03-14 06:01:51 +00:00
2007-01-05 03:31:54 +00:00
2006-05-03 02:05:01 +00:00
2006-05-03 02:05:01 +00:00
2006-06-16 15:12:32 +00:00
2005-07-14 05:20:14 +00:00
2005-12-05 13:37:55 +00:00
2001-11-26 19:08:46 +00:00
2005-07-14 05:20:14 +00:00
2006-04-05 05:03:33 +00:00
2006-04-05 05:05:01 +00:00