Date: Sun, 27 Feb 2011 15:55:05 -0500 From: Eitan Adler <eadler@freebsd.org> To: Stefan Bethke <stb@lassitu.de> Cc: freebsd-bugs@freebsd.org Subject: Re: gnu/137665: [patch] dialog(1) goes into tight loop on encountering eof Message-ID: <AANLkTimQAimn5WrKXkmG8xa_OocCnHGPmP6E8bvvYmRa@mail.gmail.com> In-Reply-To: <83C33215-1358-4606-A7A8-FC40BCC08E69@lassitu.de> References: <201102241311.p1ODBajF050380@freefall.freebsd.org> <83C33215-1358-4606-A7A8-FC40BCC08E69@lassitu.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> dialog does not go into a tight loop eating all CPU, but it still gets st= uck. =C2=A0I believe it should take some action on encountering EOF, instea= d of waiting for input forever. =C2=A0My patch did that for the old dialog,= typically taking the same path as pressing ESC would. I can not reproduce this using the command stated in the PR: $dialog --yesno foo -1 -1 </dev/null $dialog --version Version: 1.1-20100428 --=20 Eitan Adler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimQAimn5WrKXkmG8xa_OocCnHGPmP6E8bvvYmRa>