This patch is useful only if patch #401111 has also
An interactive zsh by default asks the user for
confirmation when it sees "rm *" (or a path ending in a
star) as a command. Calling "rm *" from a subshell of
an interactive shell also attempts to query the user,
but in general this fails because the file descriptor
used for prompting will have been closed.
Without patch #401111, this failure at worst consumes a
character from stdin and may not execute "rm". With
#401111, zsh may segmentation fault.
With both #401111 and this patch, any use of "rm" in a
subshell where prompting is not possible is always