<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libstand/zalloc_malloc.c, branch releng/9.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2011-07-10T07:25:34Z</updated>
<entry>
<title>- Removing some unneeded definitions of NULL(cruft related to 1970's C).</title>
<updated>2011-07-10T07:25:34Z</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@FreeBSD.org</email>
</author>
<published>2011-07-10T07:25:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f497fbf5e44f9fcf107b34a5b76d7d66af7baf10'/>
<id>urn:sha1:f497fbf5e44f9fcf107b34a5b76d7d66af7baf10</id>
<content type='text'>
  In C90, NULL is guaranteed to be declared in &lt;stddef.h&gt; and also in
  &lt;string.h&gt;.  Though the correct way to define NULL in FreeBSD is to
  include &lt;sys/_null.h&gt;, other parts of libstand still require &lt;string.h&gt;
  to build; therefore, we keep &lt;string.h&gt; in stand.h and add a note about
  this;
- Removing no longer used 'Prototype' definition.  Quote from bde@:

	'Cruft related to getting incomplete struct declarations within
	prototypes forward-declared before the structs.  It doesn't mean
	"prototype" but only part of a prototype-related hack.  No longer
	used.'

- Replacing iaddr_t with uintptr_t;
- Removing use of long double to determine alignment.  Use a fixed 16 byte
  alignment instead;

Reviewed by:	bde
Obtained from:	DragonFlyBSD (partially)
MFC after:	1 month
</content>
</entry>
<entry>
<title>Using the correct format string(%zu) for size_t type.  This should fix 64</title>
<updated>2011-06-16T15:35:12Z</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@FreeBSD.org</email>
</author>
<published>2011-06-16T15:35:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c1434464b8f0ee667a735ff6d7277a3a903c9513'/>
<id>urn:sha1:c1434464b8f0ee667a735ff6d7277a3a903c9513</id>
<content type='text'>
bits builds.

Submitted by:	Garrett Cooper &lt;yanegomi@gmail.com&gt;
</content>
</entry>
<entry>
<title>Eliminate __alpha__ leftover from libstand.</title>
<updated>2008-09-04T10:05:44Z</updated>
<author>
<name>Rafal Jaworowski</name>
<email>raj@FreeBSD.org</email>
</author>
<published>2008-09-04T10:05:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=65ba5555c673335ca34590a3d038afa5b4d1e16b'/>
<id>urn:sha1:65ba5555c673335ca34590a3d038afa5b4d1e16b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use signed char cast to avoid out-of-range error on PowerPC (which has</title>
<updated>2004-02-25T00:52:14Z</updated>
<author>
<name>Peter Grehan</name>
<email>grehan@FreeBSD.org</email>
</author>
<published>2004-02-25T00:52:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8509c106effa0bcb10e519c9893d161258ddd330'/>
<id>urn:sha1:8509c106effa0bcb10e519c9893d161258ddd330</id>
<content type='text'>
unsigned char by default). This is a no-op on all other current arches.

Tested by: md5 sum before/after same on i386
</content>
</entry>
<entry>
<title>- Print out line number in a panic message using %d rather than %p.  Line</title>
<updated>2004-01-15T18:35:32Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2004-01-15T18:35:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9e8e07fcdaaa59744e1b7aca960098cd379e3201'/>
<id>urn:sha1:9e8e07fcdaaa59744e1b7aca960098cd379e3201</id>
<content type='text'>
  numbers aren't pointers.
- Add a __printflike() attribute to libstand's panic() prototype to catch
  such bogons in the future.
</content>
</entry>
<entry>
<title>Reimplement malloc/free debugging that includes the offending file:line</title>
<updated>2002-07-20T04:18:20Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2002-07-20T04:18:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=21a7fd75c341fade399027d85b0196902ae2649f'/>
<id>urn:sha1:21a7fd75c341fade399027d85b0196902ae2649f</id>
<content type='text'>
info.  This turned out to be rather useful on ia64 for tracking down
malloc/free problems.
Detect duplicate free()'s - otherwise these show up as a guard1 failure
and it looks like corruption instead of something simple like a second
free() where there shouldn't be.
Deal with libz using libc headers and not seeing the malloc/free stuff that
we provide in libstand.  Do similar nastiness to what is done for bzlib.

Tested on: i386, ia64 (compile, run)
</content>
</entry>
<entry>
<title>Add __FBSDID()s to libstand</title>
<updated>2001-09-30T22:28:01Z</updated>
<author>
<name>Matthew Dillon</name>
<email>dillon@FreeBSD.org</email>
</author>
<published>2001-09-30T22:28:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e74b6a84ce2dd9e091aabfbaca4d692983662c0d'/>
<id>urn:sha1:e74b6a84ce2dd9e091aabfbaca4d692983662c0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T00:22:10Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T00:22:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7f3dea244c40159a41ab22da77a434d7c5b5e85a'/>
<id>urn:sha1:7f3dea244c40159a41ab22da77a434d7c5b5e85a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement a hook to allow us to reclaim the memory used by the first stage</title>
<updated>1998-10-19T09:08:40Z</updated>
<author>
<name>Doug Rabson</name>
<email>dfr@FreeBSD.org</email>
</author>
<published>1998-10-19T09:08:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5a911c6263debfd1a6466839bfa2865553049180'/>
<id>urn:sha1:5a911c6263debfd1a6466839bfa2865553049180</id>
<content type='text'>
of the bootstrap (the bit which loads /boot/loader).
</content>
</entry>
<entry>
<title>Prune unused zalloc components as recommended by Matt Dillon.  Extra debugging</title>
<updated>1998-10-01T17:35:08Z</updated>
<author>
<name>Mike Smith</name>
<email>msmith@FreeBSD.org</email>
</author>
<published>1998-10-01T17:35:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=31a014da282db0c3e116d67a28ad522a1cf172e9'/>
<id>urn:sha1:31a014da282db0c3e116d67a28ad522a1cf172e9</id>
<content type='text'>
code is still enabled (it's not very expensive).
</content>
</entry>
</feed>
