This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Second patch ping
Zack Weinberg <zack@codesourcery.com> writes:
> > Here is a sample Unix only implementation, followed by the patch to
> > other gcc files. This is not yet well tested, but I'd like to hear
> > feedback before I put a lot of time into it.
>
> I like the looks of this. We will need to keep the old pexecute()
> interface around for backward compatibility, but it ought to be
> implementable on top of the new interface. Did you encounter any
> places where the interface was awkward to implement?
Well, I made some minor changes to your proposal to avoid awkwardness,
so, in general, no. The worst part was certainly the portability code
for wait4/waitpid/wait.
But any real awkwardness will be discovered by trying an
implementation for other operating systems. Still, I don't expect
anything horrible, except for the fact that I have no way to test it
on any non-Unix systems. (Actually, I might have a FreeDOS diskette
lying around somewhere....)
Ian