I wonder if registering a handler for invalid parameters, at least around those calls, so that we can enforce the posix-like "return an error" semantics?
> OK for mainline? Ok. > 2012-07-26 Kazu Hirata <k...@codesourcery.com> > Sandra Loosemore <san...@codesourcery.com> > > libiberty/ > * pex-win32.c (pex_win32_exec_child): Only close original file > descriptors if child is launched successfully.