This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".
The branch, master has been updated
via c87f6c5b29bfcacac9f9446f7a2d9e675f5d3472 (commit)
from ccb49f77251f5d261a50bf16c5cde8aa1a4bfcc6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c87f6c5b29bfcacac9f9446f7a2d9e675f5d3472
Author: Milos Nikic <[email protected]>
Date: Wed Sep 16 09:07:15 2026 -0700
libports: fix an erroneously raised assert in _ports_bucket_class_iterate
There is an erroneously raised assert due to an improper use of reference
counts in _ports_bucket_class_iterate where an entry is not actually freed
because there still is a reference to the port, in the hash tables.
To fix it we keep a weak reference while the port is still in
the hash tables, and make _ports_create_port_internal/ports_import_port
initialize the refcounts to 1, 1 instead of 1, 0 and changing how
ports_port_deref_weak/ports_port_deref look for errors.
-----------------------------------------------------------------------
Summary of changes:
libports/complete-deallocate.c | 8 ++++----
libports/create-internal.c | 3 ++-
libports/import-port.c | 3 ++-
libports/port-deref-weak.c | 4 +++-
libports/port-deref.c | 4 +++-
libports/ports.h | 4 ++--
6 files changed, 16 insertions(+), 10 deletions(-)
hooks/post-receive
--
Hurd