From 8189e12312ede991827efc6683b7ce8463deb0bf Mon Sep 17 00:00:00 2001 From: Andrew Waldron Date: Fri, 18 Apr 2014 07:30:36 -0700 Subject: 32552 (updated by 32560): fix segfault when using process substitution in anonymous function argument list Also disallow process substitution in function name position. --- Test/C04funcdef.ztst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Test') 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 -- cgit 1.4.1