• Ron Steinke's avatar
    Modified Files: glib/ChangeLog glib/glib/giochannel.c · 1ff027aa
    Ron Steinke authored
    Modified Files:
    	glib/ChangeLog glib/glib/giochannel.c
    	glib/tests/iochannel-test.c
    
            * glib/giochannel.c: Fixed g_io_channel_seek_position()
            so that G_SEEK_CUR can be used with UTF-8 encoding
    
            * glib/giochannel.c: Changed test to decide whether
            use_buf is encoded_read_buf or read_buf from
            "if (channel->do_encode)" to "if (channel->encoding)" to
            fix bug 58472
    
            * tests/iochannel-test.c: Fixed so it doesn't output
            double newlines
    
            * glib/giochannel.c: Fixed g_io_channel_fill_buffer()
            so that encoded_read_buf is created for UTF-8 encoding
    1ff027aa
giochannel.c 60.3 KB