Accept \r\n as line end. (#163030, Bastian Nocera)
authorMatthias Clasen <mclasen@redhat.com>
Wed, 19 Jan 2005 14:14:27 +0000 (14:14 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 19 Jan 2005 14:14:27 +0000 (14:14 +0000)
commit92a710ba28f274784318ebbb0c095a76a32e5689
tree17932e4294a535de5a5e10639875878b93901b0c
parentb45420bca8ba86552856656ffe6f821889c6dc97
Accept \r\n as line end. (#163030, Bastian Nocera)

2005-01-19  Matthias Clasen  <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_parse_data): Accept \r\n as
line end.  (#163030, Bastian Nocera)
(g_key_file_load_from_data): Make -1 work as a size.

* tests/keyfile-test.c: Some unit tests for the keyfile
parser.

* tests/Makefile.am (test_programs): Add keyfile-test.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-8
glib/gkeyfile.c
tests/Makefile.am
tests/keyfile-test.c [new file with mode: 0644]