From owner-freebsd-ports Thu Dec 6 14:50: 5 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7DDC037B419 for ; Thu, 6 Dec 2001 14:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fB6Mo1H98551; Thu, 6 Dec 2001 14:50:01 -0800 (PST) (envelope-from gnats) Date: Thu, 6 Dec 2001 14:50:01 -0800 (PST) Message-Id: <200112062250.fB6Mo1H98551@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Joe Clarke Subject: Re: ports/32566: Recent Nautilus patch causes infinite loop Reply-To: Joe Clarke Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/32566; it has been noted by GNATS. From: Joe Clarke To: freebsd-gnats-submit@FreeBSD.org, marcus@marcuscom.com Cc: Subject: Re: ports/32566: Recent Nautilus patch causes infinite loop Date: Thu, 06 Dec 2001 17:42:35 -0500 Sorry, the patch wasn't complete. This patch should be better: --- patch-libnautilus-private::nautilus-volume-monitor.c.orig Thu Dec 6 17:41:42 2001 +++ patch-libnautilus-private::nautilus-volume-monitor.c Thu Dec 6 17:41:54 2001 @@ -163,13 +163,12 @@ while (! getmntent(fh, &ent)) { volume = create_volume (ent.mnt_special, ent.mnt_mountp); volume->is_removable = has_removable_mntent_options (&ent); -@@ -932,6 +979,23 @@ +@@ -932,6 +979,22 @@ } fclose (fh); +#else + while ((ent = getfsent ()) != NULL) { -+ {static int b = 1; while (b);} + if (strcmp(ent->fs_vfstype, "swap") == 0) + continue; + volume = create_volume (ent->fs_spec, ent->fs_file); -- Joe Clarke, CCIE #5384 | | Customer Support Engineer ||||| ||||| Phone: +1 (919) 392-2867 ..:|||||||||::|||||||||:.. Email: jclarke@cisco.com c i s c o S y s t e m s ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message