[Midnightbsd-cvs] [MidnightBSD/src] ff277d: mport: fix upgrade.c ohash callback signatures aft...

Lucas Holt noreply at github.com
Mon Jun 15 09:43:36 EDT 2026


  Branch: refs/heads/fix-mport-ohash-upgrade-signatures
  Home:   https://github.com/MidnightBSD/src
  Commit: ff277da48c504e6f2e1913cc296f4c054f49bc09
      https://github.com/MidnightBSD/src/commit/ff277da48c504e6f2e1913cc296f4c054f49bc09
  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

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