mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-01 01:20:00 +02:00
Bash-4.0 patchlevel 38
This commit is contained in:
+1
-3
@@ -3388,7 +3388,6 @@ bash_execute_unix_command (count, key)
|
||||
Keymap xkmap; /* unix command executing keymap */
|
||||
register int i;
|
||||
intmax_t mi;
|
||||
int save_point;
|
||||
sh_parser_state_t ps;
|
||||
char *cmd, *value, *l;
|
||||
SHELL_VAR *v;
|
||||
@@ -3432,7 +3431,6 @@ bash_execute_unix_command (count, key)
|
||||
if (v)
|
||||
VSETATTR (v, att_exported);
|
||||
l = value_cell (v);
|
||||
save_point = rl_point;
|
||||
value = inttostr (rl_point, ibuf, sizeof (ibuf));
|
||||
v = bind_int_variable ("READLINE_POINT", value);
|
||||
if (v)
|
||||
@@ -3450,7 +3448,7 @@ bash_execute_unix_command (count, key)
|
||||
if (v && legal_number (value_cell (v), &mi))
|
||||
{
|
||||
i = mi;
|
||||
if (i != save_point)
|
||||
if (i != rl_point)
|
||||
{
|
||||
rl_point = i;
|
||||
if (rl_point > rl_end)
|
||||
|
||||
Reference in New Issue
Block a user