Bug 547481 – g_data_input_stream_read_line behaves not as stated in the
authorMatthias Clasen <mclasen@redhat.com>
Fri, 28 Nov 2008 07:42:48 +0000 (07:42 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 28 Nov 2008 07:42:48 +0000 (07:42 +0000)
commite449a91b987beb218ebea6b2aa5a5ae574f3b204
treefb736ecafaef4bb39eecfa701a681deb6ccae088
parent688b2e0ed2fb614c90c7fb0a942c5c3ef8714fa8
Bug 547481 – g_data_input_stream_read_line behaves not as stated in the

2008-11-28  Matthias Clasen  <mclasen@redhat.com>

        Bug 547481 – g_data_input_stream_read_line behaves not as stated in
        the docs

        * gdatainputstream.c (g_data_input_stream_read_line): Behave as
        documented and include the line end in the returned string.
        Pointed out by Paul Pogonyshev.

        * tests/data-input-stream.c: Fix the read_line test to test the
        documented behaviour.

svn path=/trunk/; revision=7694
gio/ChangeLog
gio/gdatainputstream.c
gio/tests/data-input-stream.c