--- zsh-4.3.10/Src/exec.c.open 2009-03-16 23:57:07.000000000 +0530 +++ zsh-4.3.10/Src/exec.c 2014-04-09 19:41:25.829453955 +0530 @@ -4080,7 +4080,9 @@ execshfunc(Shfunc shf, LinkList args) sfcontext = SFC_DIRECT; doshfunc(shf, args, 0); sfcontext = osfc; + queue_signals(); free(cmdstack); + unqueue_signals(); cmdstack = ocs; cmdsp = ocsp;