Page MenuHomeFreeBSD

Let dbm's datum::dptr use the right type.
ClosedPublic

Authored by ed on May 30 2016, 1:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 6, 11:58 AM
Unknown Object (File)
Mon, Sep 22, 6:02 AM
Unknown Object (File)
Sep 2 2025, 11:45 AM
Unknown Object (File)
Aug 25 2025, 3:34 AM
Unknown Object (File)
Jul 6 2025, 11:49 PM
Unknown Object (File)
Jun 24 2025, 8:53 AM
Unknown Object (File)
Jun 16 2025, 4:15 PM
Unknown Object (File)
Jun 13 2025, 2:22 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ed retitled this revision from to Let dbm's datum::dptr use the right type..
ed updated this object.
ed edited the test plan for this revision. (Show Details)
ed added a reviewer: pfg.
pfg edited edge metadata.

Modernity :).

This revision is now accepted and ready to land.May 30 2016, 4:14 PM
This revision was automatically updated to reflect the committed changes.