I'll take a look at all of this in a couple of days.
Sounds good
I just sent a 6th patch. With that, all the errexit issues I'm aware of are fixed.
I still have on my todo list to write a NEWS item that documents the changes/fixes. So there will be a 7th patch but that one will only touch the NEWS file.
There is one last thing that I don't understand in the errexit code, namely the NOERREXIT_UNTIL_EXEC bit used in execif. I will spend some time studying it in the next few days. Hopefully, I don't discover new issues :-)
Philippe