[Vala] error in GLib.DataInputStream
- From: Michele Dionisio <michele dionisio gmail com>
- To: Vala List <vala-list gnome org>
- Subject: [Vala] error in GLib.DataInputStream
- Date: Sat, 6 Jan 2018 12:23:44 +0100
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]