OpenBSD CVS

CVS log for src/include/stdlib.h


[BACK] Up to [local] / src / include

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_6_5_BASE


Revision 1.75 / (download) - annotate - [select for diffs], Wed Nov 21 06:57:04 2018 UTC (5 years, 6 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.74: +1 -2 lines
Diff to previous 1.74 (colored)

Introducing malloc_usable_size() was a mistake. While some other
libs have it, it is a function that is considered harmful, so:

Delete malloc_usable_size(). It is a function that blurs the line
between malloc managed memory and application managed memory and
exposes some of the internal workings of malloc.  If an application
relies on that, it is likely to break using another implementation
of malloc.  If you want usable size x, just allocate x bytes. ok
deraadt@ and other devs

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.