From owner-freebsd-gnome Sun Jul 7 13:30:11 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 506CC37B407 for ; Sun, 7 Jul 2002 13:30:06 -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 2273F43E4A for ; Sun, 7 Jul 2002 13:30:05 -0700 (PDT) (envelope-from marcus@freebsd.org) Received: from gyros.marcuscom.com (vpn-client.marcuscom.com [10.2.1.200]) by creme-brulee.marcuscom.com (8.12.5/8.12.5) with ESMTP id g67KTIp8055080 for ; Sun, 7 Jul 2002 16:29:19 -0400 (EDT) (envelope-from marcus@freebsd.org) Received: from gyros.marcuscom.com (localhost [127.0.0.1]) by gyros.marcuscom.com (8.12.5/8.12.5) with ESMTP id g677WNja038076 for ; Sun, 7 Jul 2002 03:32:23 -0400 (EDT) (envelope-from marcus@FreeBSD.org) Received: (from marcus@localhost) by gyros.marcuscom.com (8.12.5/8.12.5/Submit) id g677WMRa038075; Sun, 7 Jul 2002 03:32:22 -0400 (EDT) X-Authentication-Warning: gyros.marcuscom.com: marcus set sender to marcus@FreeBSD.org using -f Subject: Possible patch for nautilus freeze From: Joe Marcus Clarke To: gnome@freebsd.org Content-Type: multipart/mixed; boundary="=-pLaf9qeAqblOBWh+EQ9N" X-Mailer: Ximian Evolution 1.0.7 Date: 07 Jul 2002 03:32:22 -0400 Message-Id: <1026027142.404.5.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 --=-pLaf9qeAqblOBWh+EQ9N 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 --=-pLaf9qeAqblOBWh+EQ9N 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 --=-pLaf9qeAqblOBWh+EQ9N-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message