> A quick fix is to bring up mallocz bits in
> /sys/src/ape/lib/mp/port/libc.h into agreement with the rest.

I would say this is the correct fix.

> Replacing _MALLOCZ back with mallocz within APE realm seems to me a
> better option to consider.

I don't think this is better. APE generally tries very hard to be compliant
to the spirit of ANSI (or POSIX with _POSIX_EXTENSION defined), this
includes not poluting the namespace with plan9isms where possible.

Having said this what about setmalloctag() getcallerpc(), etc etc.

-Steve

Reply via email to