Re: [gtk-list] GTK+/GLib patch for systems without poll() (like RedHat 4.x)



Quoting Andrew Vajoczki (vajoczki@interlog.com):
> This patch fixes the "GTK+/GLib frozen event loop bug"  
> in systems that do not have the poll() system call 
> (such as RedHat 4.x).  It seems that POLLIN and the gang 
> were not defined, ultimately causing g_poll() to hang in 
> select() forever (since the first enum value, G_IO_IN, would 
> be equal to zero).
> 
> You must "make clean" and "make uninstall" and rebuild 
> both GLib and GTK+ after you apply this patch. 
Hrmm... so, does this fix that gtk/glib 1.1.x segfault bug in gEdit then?
(if so, it seems Debian doesnt have this poll() thing either.. havent
checked)..
if this works, does anyone mind if i merge it into the glib cvs tree?

(one confusing thing is, this bug doesnt appear in ANY other app.. only gedit
(and gqmpeg))... weird..
-- 
** bse@dial.pipex.com -- Alex Roberts -- http://bsenet.cjb.net **



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