Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2002 10:52:41 +1000 (EST)
From:      Andrew <andrew@ugh.net.au>
To:        Mike Harding <mvh@ix.netcom.com>
Cc:        stable@freebsd.org
Subject:   Re: minor (been there forever) annoyance
Message-ID:  <20020822104846.Y39570-100000@starbug.ugh.net.au>
In-Reply-To: <20020821140907.70A9E1314F@netcom1.netcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 21 Aug 2002, Mike Harding wrote:

> Can somebody tell me why if I run 'systat' in an x-window and then
> kill the window, systat chews up all the CPU?  Is there any way to fix

I only had a 30 second look but it seems that the problem is probably in
keyboard.c. It calls getch in an infinite loop and doesn't test for a
return value of ERR which is presumably what would be returned if stdin
had disappeared.

I only had a quick look though and there may be something else going
wrong. I can't actually reproduce the behaviour here.

Andrew


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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