Proposed new pexecute interface

Ian Lance Taylor
Thu Mar 24 17:34:00 GMT 2005

Mark Mitchell <> writes:

> My only comment was that it wasn't clear to me who owned the memory
> returned by things like pex_run and pex_times.  It would be nice if
> the documentation said "the caller should call free on this memory
> when it is no longer needed", or some such.

Thanks for looking at the patch.

I clarified these issues in the comments and the documentation.  For
the record, pex_run returns a statically allocated string, and
pex_get_times doesn't actually return memory--it stores values into
memory space passed in by the caller.


More information about the Gcc-patches mailing list