diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2007-11-07 04:34:03 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2007-11-07 04:34:03 +0000 |
commit | 856ca0bc92498c33fee8862b1b0632d1f66f2753 (patch) | |
tree | f5cb0e516b57ee618c23a683d5d3f4fb2818a0d6 /contrib/libreadline/complete.c | |
parent | fe4cca3e28d67256c2b8fff1a4cc2fdac6ed7bb3 (diff) |
Notes
Diffstat (limited to 'contrib/libreadline/complete.c')
-rw-r--r-- | contrib/libreadline/complete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libreadline/complete.c b/contrib/libreadline/complete.c index 73f834a68a79a..5ff198d346a5b 100644 --- a/contrib/libreadline/complete.c +++ b/contrib/libreadline/complete.c @@ -428,7 +428,7 @@ get_y_or_n (for_pager) return (1); if (c == 'n' || c == 'N' || c == RUBOUT) return (0); - if (c == ABORT_CHAR) + if (c == ABORT_CHAR || c < 0) _rl_abort_internal (); if (for_pager && (c == NEWLINE || c == RETURN)) return (2); |