[PATCH] Re: [gtk-list] gtk 1.1.14 crash in gtk_init
- From: Ben Gertzfield <che debian org>
- To: gtk-list redhat com
- Subject: [PATCH] Re: [gtk-list] gtk 1.1.14 crash in gtk_init
- Date: 28 Jan 1999 23:27:09 -0800
>>>>> "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 @@
 
 #  ifdef HAVE_GETPWUID_R
         struct passwd pwd;
-        guint bufsize = 1; /* sizeof (struct passwd); */
+        guint bufsize = sizeof (struct passwd);
         gint error;
 
         do
-- 
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]