cleaned up semantics of fd-passing and error handling
2 files changed