From owner-freebsd-gnome Sun Jul 7 0:50:40 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58DD737B400 for ; Sun, 7 Jul 2002 00:50:38 -0700 (PDT) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id C861343E31 for ; Sun, 7 Jul 2002 00:50:37 -0700 (PDT) (envelope-from marcus@FreeBSD.org) Received: from [10.2.1.200] (vpn-client.marcuscom.com [10.2.1.200]) by creme-brulee.marcuscom.com (8.12.5/8.12.5) with ESMTP id g677nsp4051065 for ; Sun, 7 Jul 2002 03:49:54 -0400 (EDT) (envelope-from marcus@FreeBSD.org) Subject: Possible patch for nautilus freeze From: Joe Marcus Clarke To: gnome@FreeBSD.org Content-Type: multipart/mixed; boundary="=-8BCh1oajyy4KBROqKJXo" X-Mailer: Ximian Evolution 1.0.7 Date: 07 Jul 2002 03:50:19 -0400 Message-Id: <1026028225.404.10.camel@gyros.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-8BCh1oajyy4KBROqKJXo Content-Type: text/plain Content-Transfer-Encoding: 7bit Guys, I need your help. I've been trying to hunt down why Nautilus freezes when trying to thumbnail certain images. I think I found the problem. It's in libeel. Attached is a patch that fixes my little test kludge. I'm on the road again (another week, another Networkers), so I can't test Nautilus for real. I would really appreciate it, if someone could stick this file in x11-toolkits/eel2/files, then rebuild and reinstall eel2. Then, try to thumbnail some png or gif images, and let me know if the freeze problem is gone in Nautilus. Thanks! Joe --=-8BCh1oajyy4KBROqKJXo Content-Disposition: attachment; filename=patch-eel_eel-gdk-pixbuf-extensions.c Content-Transfer-Encoding: quoted-printable Content-Type: text/x-c; name=patch-eel_eel-gdk-pixbuf-extensions.c; charset=ISO8859-1 --- eel/eel-gdk-pixbuf-extensions.c.orig Sun Jul 7 03:24:52 2002 +++ eel/eel-gdk-pixbuf-extensions.c Sun Jul 7 03:25:03 2002 @@ -101,7 +101,7 @@ { GnomeVFSResult result; GnomeVFSHandle *handle; - char buffer[LOAD_BUFFER_SIZE]; + static char buffer[LOAD_BUFFER_SIZE]; GnomeVFSFileSize bytes_read; GdkPixbufLoader *loader; GdkPixbuf *pixbuf;=09 --=-8BCh1oajyy4KBROqKJXo-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message