This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, libiberty] Improvements to pex functionality
> Can't just save and restore environ?
That assumes your MS-DOS compiler actually uses a global environ[]
array (ms-dos predates posix) and that you can change it. It also
assumes your library's system() knows what to do with it. I suspect
it would work for most cases, though.
Since I don't know of any current ports that use pex-msdos, I'm
willing to let it slide until someone needs it, and then let them
figure out how to implement it for their environment.