diff options
| author | Andrew Waldron <a.a.w@gmx.us> | 2014-04-18 07:30:36 -0700 |
|---|---|---|
| committer | Barton E. Schaefer <schaefer@zsh.org> | 2014-04-18 07:30:36 -0700 |
| commit | 8189e12312ede991827efc6683b7ce8463deb0bf (patch) | |
| tree | 04d1a5c5a2ebc37edf87158fbc4d983578cbc0ed /Test/C04funcdef.ztst | |
| parent | 32546: better handling of ignored files with _path_files -W prefixes (diff) | |
| download | zsh-8189e12312ede991827efc6683b7ce8463deb0bf.tar zsh-8189e12312ede991827efc6683b7ce8463deb0bf.tar.gz zsh-8189e12312ede991827efc6683b7ce8463deb0bf.tar.bz2 zsh-8189e12312ede991827efc6683b7ce8463deb0bf.tar.lz zsh-8189e12312ede991827efc6683b7ce8463deb0bf.tar.xz zsh-8189e12312ede991827efc6683b7ce8463deb0bf.tar.zst zsh-8189e12312ede991827efc6683b7ce8463deb0bf.zip | |
32552 (updated by 32560): fix segfault when using process substitution in anonymous function argument list
Also disallow process substitution in function name position.
Diffstat (limited to 'Test/C04funcdef.ztst')
| -rw-r--r-- | Test/C04funcdef.ztst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/C04funcdef.ztst b/Test/C04funcdef.ztst index 706aa28c2..a2660315f 100644 --- a/Test/C04funcdef.ztst +++ b/Test/C04funcdef.ztst @@ -208,6 +208,11 @@ >Da de da >Do be do + () (cat $1 $2) <(print process expanded) =(print expanded to file) +0:Process substitution with anonymous functions +>process expanded +>expanded to file + () { print This has arguments $*; } of all sorts; print After the function function { print More stuff $*; } and why not; print Yet more 0:Anonymous function with arguments |
