Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2011 08:31:43 +0100
From:      Stefan Bethke <stb@lassitu.de>
To:        eadler@FreeBSD.org
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: gnu/137665: [patch] dialog(1) goes into tight loop on encountering eof
Message-ID:  <83C33215-1358-4606-A7A8-FC40BCC08E69@lassitu.de>
In-Reply-To: <201102241311.p1ODBajF050380@freefall.freebsd.org>
References:  <201102241311.p1ODBajF050380@freefall.freebsd.org>

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

On:
# uname -a
FreeBSD freebsd-current.lassitu.de 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r219066: Sun Feb 27 01:55:21 CET 2011     root@freebsd-current.lassitu.de:/usr/obj/usr/src/sys/MINIMAL  amd64

dialog does not go into a tight loop eating all CPU, but it still gets stuck.  I believe it should take some action on encountering EOF, instead of waiting for input forever.  My patch did that for the old dialog, typically taking the same path as pressing ESC would.


Stefan

-- 
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?83C33215-1358-4606-A7A8-FC40BCC08E69>