[Vala] error in GLib.DataInputStream



in GLib.DataInputStream the error reported in case of

read_line

is  IOError

but this is not true, infact in documentation of glib method

g_data_input_stream_read_line ()

whe have

error                      GError for error reporting.


and example of this problem can be reached if you do

var fileInStream = new DataInputStream ( new ConverterInputStream

and ConverterInputStream can raise any possible GError and not only IO.

The problem is more generic and is not only related to read_line.

do you think that I have to raise a bug for that?

regards


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]