[PATCH] Re: [gtk-list] gtk 1.1.14 crash in gtk_init

>>>>> "Brian" == Brian Ryner <bryner@uiuc.edu> writes:

    Brian> I posted this to the mozilla groups, and then also realized
    Brian> it could be a glib/gtk+ bug.  Anyone know what would cause
    Brian> this? 1.1.13 works fine, I'm on Redhat Linux 5.2, kernel
    Brian> 2.2.0.

This is a patch against glib1.1.13 I was sent from Havoc Pennington
<hp@Jupiter.mcs.net> to fix this. I haven't tested it yet, but I'm
guessing it will solve your problen -- please tell me if it does.

--- gutils.c.orig	Thu Jan 28 23:25:19 1999
+++ gutils.c	Thu Jan 28 23:25:34 1999
@@ -443,7 +443,7 @@
         struct passwd pwd;
-        guint bufsize = 1; /* sizeof (struct passwd); */
+        guint bufsize = sizeof (struct passwd);
         gint error;

Brought to you by the letters F and Y and the number 4.
"It makes my nipples hard!"
Debian GNU/Linux maintainer of Gimp and GTK+ -- http://www.debian.org/
I'm on FurryMUCK as Che, and EFNet/Open Projects IRC as Che_Fox.

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