Watch not working correctly since linc 0.1.12



Hi Michael and list,

I use a LincWatch in my application to handle messages on channels others than
the CORBA connection. This worked fine with linc-0.1.11. Now, with linc-0.1.12
and linc-0.1.13, I got a core dump in the handler routine, if a message was
available on the channel, because the GIOChannel parameter in that handler is
NULL. 
A look into the sources gives, that the channel given in linc_io_add_watch() is
silently thrown away and not transfered to glib. Was that intended? 
In my application, I may use the file descriptor directly to read the channel.
If that is what you want, you probably should make the new
linc_io_add_watch_fd() public instead of linc_io_add_watch().


Roland.

--
ATecoM GmbH                              Date: 10-Jan-2002
Kaiserstrasse 100                        Time: 12:36:33
D-52134 Herzogenrath

E-Mail: Juelich@ATecoM.com
Tel.:   +49-2407-9586-0
Fax.:   +49-2407-9586-901
--------------------------------------------



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