commit | 91493254000520634be208201398d312a8635c83 | [log] [tgz] |
---|---|---|
author | David Lawrence Ramsey <pooka109@gmail.com> | Sun Mar 19 19:25:29 2006 +0000 |
committer | David Lawrence Ramsey <pooka109@gmail.com> | Sun Mar 19 19:25:29 2006 +0000 |
tree | 0cc9311d9e78905f79335af260b5cb37dbd981ec | |
parent | 1ec74ee30c391ab79cfd9a067f37093243c11ce0 [diff] |
in get_key_buffer(), if we fail to get a character over MAX_BUF_SIZE times in a row, hang up regardless of the value of errno; this fixes a problem where nano doesn't terminate properly under xterm if the user su's to root, runs nano, and then closes the terminal window git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3309 35c25a1d-7b9e-4130-9fde-d3aeb78583b8