mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-01 01:20:00 +02:00
history builtin has a -H option to display history entries as they would be written to the history file; history builtin now takes a START-END range specifier for listing; fix stray semicolon when printing shell functions containing a case command; changes to stdin redirection detection in preparation for POSIX interp 1913
This commit is contained in:
+3
-1
@@ -846,10 +846,12 @@ execute_command_internal (COMMAND *command, int asynchronous, int pipe_in, int p
|
||||
}
|
||||
#endif /* COMMAND_TIMING */
|
||||
|
||||
/* Is this a compound command with a redirection from stdin? POSIX interp
|
||||
1913 makes it matter. */
|
||||
if (shell_control_structure (command->type) && command->redirects)
|
||||
{
|
||||
stdin_redirected = stdin_redirects (command->redirects);
|
||||
/*itrace("execute_command_internal: compound command with redirects: stdin_redirected = %d", stdin_redirected); */
|
||||
/*itrace("execute_command_internal: compound command with redirects: stdin_redirected = %d", stdin_redirected);*/
|
||||
}
|
||||
|
||||
#if defined (PROCESS_SUBSTITUTION)
|
||||
|
||||
Reference in New Issue
Block a user