mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-04 02:40:49 +02:00
fix for cd when curent directory doesn't exist; fix wait -n in posix mode to delete any job that it returns; fix some variables where readonly can be circumvented; fix some overflows in printf
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* readline.c -- a general facility for reading lines of input
|
||||
with emacs style editing and completion. */
|
||||
|
||||
/* Copyright (C) 1987-2023 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1987-2024 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of the GNU Readline Library (Readline), a library
|
||||
for reading lines of text with interactive input and history editing.
|
||||
|
||||
@@ -2093,6 +2093,9 @@ _rl_readstr_dispatch (_rl_readstr_cxt *cxt, int c)
|
||||
if (c < 0)
|
||||
c = CTRL ('C');
|
||||
|
||||
/* could consider looking up the function bound to they key and dispatching
|
||||
off that, but you want most characters inserted by default without having
|
||||
to quote. */
|
||||
switch (c)
|
||||
{
|
||||
case CTRL('W'):
|
||||
@@ -2168,6 +2171,12 @@ _rl_readstr_dispatch (_rl_readstr_cxt *cxt, int c)
|
||||
}
|
||||
break;
|
||||
|
||||
#if 0
|
||||
case CTRL('_'):
|
||||
rl_do_undo ();
|
||||
break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
#if defined (HANDLE_MULTIBYTE)
|
||||
if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)
|
||||
|
||||
Reference in New Issue
Block a user