fix for $_ when executing $PROMPT_COMMAND; fix for extra line in history after here-document in command substitution

This commit is contained in:
Chet Ramey
2023-02-13 10:48:05 -05:00
parent 3eab48247a
commit d7a6d947df
11 changed files with 140 additions and 72 deletions
+1 -2
View File
@@ -121,7 +121,6 @@ extern int close (int);
/* Static functions defined and used in this file. */
static void close_pipes (int, int);
static void do_piping (int, int);
static void bind_lastarg (char *);
static int shell_control_structure (enum command_type);
static void cleanup_redirects (REDIRECT *);
@@ -4000,7 +3999,7 @@ execute_cond_command (COND_COM *cond_command)
}
#endif /* COND_COMMAND */
static void
void
bind_lastarg (char *arg)
{
SHELL_VAR *var;