speedups for character processing in a multibyte locale when expanding $'...'; cosmetic fix for select command when read returns EOF; fix for a forced interactive shell running under emacs with a pipe for stdin; fix for local nameref variables with the same name as variables in a function's temporary environment; fix for x=y local -n x' not making x' visible as a local variable; turn off nameref attribute for local nameref variables converted to arrays

This commit is contained in:
Chet Ramey
2025-10-27 10:42:10 -04:00
parent 403b32faf6
commit c299f535be
14 changed files with 262 additions and 78 deletions
+5 -1
View File
@@ -1751,7 +1751,11 @@ set_bash_input (void)
}
}
else
with_input_from_stream (default_input, dollar_vars[0]);
{
with_input_from_stream (default_input, dollar_vars[0]);
if (forced_interactive && running_under_emacs && fd_ispipe (fileno (default_input)))
stream_setsize (1);
}
}
/* Close the current shell script input source and forget about it. This is