cocmd: allow passing unpaired } for passing Perl test

This commit is contained in:
Gavin Hayes 2023-02-26 01:39:29 -05:00
parent 9e001a3bdd
commit f4516567ff

View file

@ -685,7 +685,7 @@ int _cocmd(int argc, char **argv, char **envp) {
unsupported['('] = true; unsupported['('] = true;
unsupported[')'] = true; unsupported[')'] = true;
unsupported['{'] = true; unsupported['{'] = true;
unsupported['}'] = true; unsupported['}'] = false; // Perl t/op/exec.t depends on unpaired } being passed from the shell to Perl
if (!_weaken(glob)) { if (!_weaken(glob)) {
unsupported['*'] = true; unsupported['*'] = true;
unsupported['?'] = true; unsupported['?'] = true;