[Midnightbsd-cvs] [MidnightBSD/src] 526a71: mport: fix upgrade.c ohash callback signatures aft...
Lucas Holt
noreply at github.com
Mon Jun 15 09:49:58 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/src
Commit: 526a71f9afa047a043749f83a46591f34d9c4bb0
https://github.com/MidnightBSD/src/commit/526a71f9afa047a043749f83a46591f34d9c4bb0
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-06-15 (Mon, 15 Jun 2026)
Changed paths:
M contrib/mport/libmport/upgrade.c
Log Message:
-----------
mport: fix upgrade.c ohash callback signatures after ohash update (#398)
The ohash_info struct in lib/libc/ohash now expects:
calloc: void *(size_t, size_t, void *)
free: void *(void *, void *)
Update ecalloc and efree in contrib/mport/libmport/upgrade.c to match
the new signatures. Switch from malloc+memset to calloc for correctness.
AI-Assisted-by: Claude Sonnet 4.6
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications
More information about the Midnightbsd-cvs
mailing list