set the malloc tag.
files:
/sys/src/libc/port/strdup.c strdup.c
removed:
/sys/src/libc/port/strdup.c:
strdup.c.orig:11 a strdup.c:12
> setmalloctag(ns, getcallerpc(&s));
i added this years ago but the patch was rejected. :-)
- erik
couldn't resist.
i will demure.
i strongly object to strong objection to this patch,
in other words !!lgtm.
- erik