Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2003 14:35:40 +0300
From:      Juha Erkkila <erkkila@cc.jyu.fi>
To:        Alexander =?iso-8859-1?Q?K=F6nig?= <alex@lisas.de>
Cc:        ports@FreeBSD.org
Subject:   terminatorX-3.81 /proc -patch
Message-ID:  <20030910113540.GA29546@a.o.t>

next in thread | raw e-mail | index | archive | help
terminatorX doesn't appear to work if one hasn't /proc mounted.  here's
a patch:

diff -ru old_terminatorX-3.81/src/tX_mastergui.cc terminatorX-3.81/src/tX_mastergui.cc
--- old_terminatorX-3.81/src/tX_mastergui.cc	Wed Sep 10 14:16:36 2003
+++ terminatorX-3.81/src/tX_mastergui.cc	Wed Sep 10 14:17:00 2003
@@ -222,8 +222,8 @@
 				gtk_label_set_text(GTK_LABEL(used_mem), buffer);
 			}
 		}
-	}
 	fclose(procfs);	
+	}
 	
 	sprintf(buffer, "%i", vtt_class::vtt_amount);
 	gtk_label_set_text(GTK_LABEL(no_of_vtts), buffer);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030910113540.GA29546>