fix comsub inside parameter expansion in here-document; fix readline longjmp botch; posix change for unset non-identifier; posix change for double quotes inside backquote comsub in here-document; add missing posix pieces to umask builtin

This commit is contained in:
Chet Ramey
2022-12-19 09:38:15 -05:00
parent 49918d90cd
commit c4a2e37470
26 changed files with 360 additions and 100 deletions
+3
View File
@@ -4014,6 +4014,8 @@ execute_cond_node (cond)
#endif
result = sh_regmatch (arg1, arg2, mflags);
if (result == 2)
builtin_error (_("invalid regular expression `%s'"), arg2);
}
else
#endif /* COND_REGEXP */
@@ -4869,6 +4871,7 @@ builtin_status (result)
case EX_REDIRFAIL:
case EX_BADASSIGN:
case EX_EXPFAIL:
case EX_UTILERROR:
r = EXECUTION_FAILURE;
break;
default: