apply several fixes tagged for bash-5.3; use memfd_create in anon file open if available; append a newline to parsed command in parse_comsub if last read token was a newline

This commit is contained in:
Chet Ramey
2023-06-20 11:35:05 -04:00
parent 4e4cebb6dc
commit 293916f885
13 changed files with 202 additions and 139 deletions
+1 -2
View File
@@ -1705,9 +1705,8 @@ execute_in_subshell (COMMAND *command, int asynchronous, int pipe_in, int pipe_o
dispose_redirects (command->redirects);
command->redirects = (REDIRECT *)NULL;
#if 0
#if 1
#if defined (PROCESS_SUBSTITUTION) && defined (JOB_CONTROL)
/* TAG: bash-5.3 kre 10/24/2022 */
if (user_subshell && command->type == cm_subshell)
{
procsub_clear ();