new lsub nix patch: strdup

5 views
Skip to first unread message

Fco. J. Ballesteros

unread,
Apr 15, 2012, 6:11:04 AM4/15/12
to nix...@googlegroups.com, ne...@lsub.org
http://lsub.org/magic/webls?dir=/nixpatch/strdup


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));

erik quanstrom

unread,
Apr 15, 2012, 12:17:57 PM4/15/12
to nix...@googlegroups.com

i added this years ago but the patch was rejected. :-)

- erik

Nemo

unread,
Apr 15, 2012, 12:24:31 PM4/15/12
to nix...@googlegroups.com
Now it's your chance to exercise your long awaited revenge and
strongly oppose to accepting this :)

couldn't resist.

erik quanstrom

unread,
Apr 15, 2012, 12:25:57 PM4/15/12
to ne...@lsub.org, nix...@googlegroups.com

i will demure.

i strongly object to strong objection to this patch,
in other words !!lgtm.

- erik

Nemo

unread,
Apr 15, 2012, 12:30:27 PM4/15/12
to nix...@googlegroups.com
;; patch/Apply strdup
applying to /n/src/nix...
/dist/patch/strdup
merge...backup...copy...
cpfile strdup.c /n/dist/sys/src/libc/port/strdup.c
done

Reply all
Reply to author
Forward
0 new messages