mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-08 11:12:36 +02:00
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:
@@ -1846,9 +1846,9 @@ yy_stream_get (void)
|
||||
result = EOF;
|
||||
if (bash_input.location.file)
|
||||
{
|
||||
/* XXX - don't need terminate_immediately; getc_with_restart checks
|
||||
/* XXX - don't need terminate_immediately; stream_getc checks
|
||||
for terminating signals itself if read returns < 0 */
|
||||
result = getc_with_restart (bash_input.location.file);
|
||||
result = stream_getc (bash_input.location.file);
|
||||
}
|
||||
return (result);
|
||||
}
|
||||
@@ -1856,7 +1856,7 @@ yy_stream_get (void)
|
||||
static int
|
||||
yy_stream_unget (int c)
|
||||
{
|
||||
return (ungetc_with_restart (c, bash_input.location.file));
|
||||
return (stream_ungetc (c, bash_input.location.file));
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user