Blame bash-5.2-check-xform.patch
|
Siteshwar Vashisht |
7c25b0 |
diff --git a/subst.c b/subst.c
|
|
Siteshwar Vashisht |
7c25b0 |
--- a/subst.c
|
|
Siteshwar Vashisht |
7c25b0 |
+++ b/subst.c
|
|
Siteshwar Vashisht |
7c25b0 |
@@ -7959,7 +7959,7 @@ parameter_brace_transform (varname, value, ind, xform, rtype, quoted, pflags, fl
|
|
Siteshwar Vashisht |
7c25b0 |
return ((char *)NULL);
|
|
Siteshwar Vashisht |
7c25b0 |
}
|
|
Siteshwar Vashisht |
7c25b0 |
|
|
Siteshwar Vashisht |
7c25b0 |
- if (valid_parameter_transform (xform) == 0)
|
|
Siteshwar Vashisht |
7c25b0 |
+ if (xform[0] == 0 || valid_parameter_transform (xform) == 0)
|
|
Siteshwar Vashisht |
7c25b0 |
{
|
|
Siteshwar Vashisht |
7c25b0 |
this_command_name = oname;
|
|
Siteshwar Vashisht |
7c25b0 |
#if 0 /* TAG: bash-5.2 Martin Schulte <gnu@schrader-schulte.de> 10/2020 */
|