<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/db, branch releng/11.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F11.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F11.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2018-03-29T02:50:57Z</updated>
<entry>
<title>Revert r330897:</title>
<updated>2018-03-29T02:50:57Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-29T02:50:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4ab2e064d7950be84256d671a7ae93f87cc6aa36'/>
<id>urn:sha1:4ab2e064d7950be84256d671a7ae93f87cc6aa36</id>
<content type='text'>
This was intended to be a non-functional change. It wasn't. The commit
message was thus wrong. In addition it broke arm, and merged crypto
related code.

Revert with prejudice.

This revert skips files touched in r316370 since that commit was since
MFCed. This revert also skips files that require $FreeBSD$ property
changes.

Thank you to those who helped me get out of this mess including but not
limited to gonzo, kevans, rgrimes.

Requested by: gjb (re)
</content>
</entry>
<entry>
<title>Partial merge of the SPDX changes</title>
<updated>2018-03-14T03:19:51Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-14T03:19:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=be5d0b9566b13fdf8cabebb63334cbec12bfc409'/>
<id>urn:sha1:be5d0b9566b13fdf8cabebb63334cbec12bfc409</id>
<content type='text'>
These changes are incomplete but are making it difficult
to determine what other changes can/should be merged.

No objections from:	pfg
</content>
</entry>
<entry>
<title>MFC r306349:</title>
<updated>2017-02-10T06:31:31Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-02-10T06:31:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=248a4e1cedbcb06a837cc49fd0c7736715671398'/>
<id>urn:sha1:248a4e1cedbcb06a837cc49fd0c7736715671398</id>
<content type='text'>
r306349 (by pfg):

hash(3): protect in-memory page when using cross-endianness.

When writing out pages in the "other endian" format, make a copy
instead of trashing the in-memory one.

Obtained from:	NetBSD (CVS rev. 1.29)
</content>
</entry>
<entry>
<title>MFC r306332:</title>
<updated>2016-10-19T16:33:43Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-10-19T16:33:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0df51f8c86492978eda4cb4c37a5248585e8014c'/>
<id>urn:sha1:0df51f8c86492978eda4cb4c37a5248585e8014c</id>
<content type='text'>
btree(3): don't shortcut closing if the metadata is dirty.

Obtained from:	NetBSD (from krb5 tree)
</content>
</entry>
<entry>
<title>Fix prototype of dbm_open().</title>
<updated>2016-05-31T18:32:57Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2016-05-31T18:32:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=de1d2695831563910c907de54b6f47954f681e62'/>
<id>urn:sha1:de1d2695831563910c907de54b6f47954f681e62</id>
<content type='text'>
The last argument of dbm_open() should be a mode_t according to POSIX;
not an int.

Reviewed by:	pfg, kib
Differential Revision:	https://reviews.freebsd.org/D6650
</content>
</entry>
<entry>
<title>Let dbm's datum::dptr use the right type.</title>
<updated>2016-05-30T16:52:23Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2016-05-30T16:52:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2fed5061dbe20aa378935f2b1dabfeb3f4cf6976'/>
<id>urn:sha1:2fed5061dbe20aa378935f2b1dabfeb3f4cf6976</id>
<content type='text'>
According to POSIX, it should use void *, not char *. Unfortunately, the
dsize field also has the wrong type. It should be size_t. I'm not going
to change that, as that will break the ABI.

Reviewed by:	pfg
Differential Revision:	https://reviews.freebsd.org/D6647
</content>
</entry>
<entry>
<title>libc: make more use of the howmany() macro when available.</title>
<updated>2016-04-26T01:17:05Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-26T01:17:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=968c0b406d3d8ddc896002c0aba96f76d4a0d38d'/>
<id>urn:sha1:968c0b406d3d8ddc896002c0aba96f76d4a0d38d</id>
<content type='text'>
We have a howmany() macro in the &lt;sys/param.h&gt; header that is
convenient to re-use as it makes things easier to read.
</content>
</entry>
<entry>
<title>libc: use our roundup2/rounddown2() macros when param.h is available.</title>
<updated>2016-04-20T01:21:39Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-20T01:21:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=75a5de5a4071f766b9220750146a987c080187d4'/>
<id>urn:sha1:75a5de5a4071f766b9220750146a987c080187d4</id>
<content type='text'>
rounddown2 tends to produce longer lines than the original code but
still it makes the code more readable.
</content>
</entry>
<entry>
<title>libc: do not include &lt;sys/types.h&gt; where &lt;sys/param.h&gt; was already included</title>
<updated>2016-04-18T21:05:15Z</updated>
<author>
<name>Andriy Voskoboinyk</name>
<email>avos@FreeBSD.org</email>
</author>
<published>2016-04-18T21:05:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2cf5e9365d299ad70ec7fe8a7e7202fbb925e70c'/>
<id>urn:sha1:2cf5e9365d299ad70ec7fe8a7e7202fbb925e70c</id>
<content type='text'>
According to style(9):
&gt; normally, include &lt;sys/types.h&gt; OR &lt;sys/param.h&gt;, but not both.
(&lt;sys/param.h&gt; already includes &lt;sys/types.h&gt; when LOCORE is not defined).
</content>
</entry>
<entry>
<title>libc: replace 0 with NULL for pointers.</title>
<updated>2016-04-10T19:33:58Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-10T19:33:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=513004a23dac3416f8f9c11aaa148bf8606c8617'/>
<id>urn:sha1:513004a23dac3416f8f9c11aaa148bf8606c8617</id>
<content type='text'>
While here also cleanup some surrounding code; particularly
drop some malloc() casts.

Found with devel/coccinelle.

Reviewed by:	bde (previous version - all new bugs are mine)
</content>
</entry>
</feed>
