Get rid of a todo by stop declaring variable texec as static and instead zeroing
authoranton <anton@openbsd.org>
Mon, 18 Dec 2017 20:30:14 +0000 (20:30 +0000)
committeranton <anton@openbsd.org>
Mon, 18 Dec 2017 20:30:14 +0000 (20:30 +0000)
commitb11c7a774cec1b395372c92d0ca7c88a29c7696d
tree92b30662f2d94c097e88c6179d66da068422ab6a
parent8862ccee6f75a3c7a199a1e2331d9ece937573d9
Get rid of a todo by stop declaring variable texec as static and instead zeroing
it out prior to continuing down the recursive call chain.

Initial diff from Michael W. Bombardieri, later tweaked; ok tb@
bin/ksh/exec.c