Upstream-status: Taken from . libports-iterate-refcount.patch> http://lists.gnu.org/archive/html/bug-hurd/2016-03/msg00034.html diff --git a/libports/bucket-iterate.c b/libports/bucket-iterate.c index b021b99..76dc3f7 100644 --- a/libports/bucket-iterate.c +++ b/libports/bucket-iterate.c @@ -58,7 +58,14 @@ _ports_bucket_class_iterate (struct hurd_ihash *ht, if (class == 0 || pi->class == class) { - refcounts_ref (&pi->refcounts, NULL); + struct references result; + refcounts_unsafe_ref (&pi->refcounts, &result); + if (result.hard == 1 && result.weak == 0) + { + /* This one is on its way out, skip it. */ + refcounts_deref (&pi->refcounts, NULL); + continue; + } p[n] = pi; n++; } value='switch'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/ldap.scm
AgeCommit message (Expand)Author
2022-12-14gnu: slapd-configuration: Update default for run-dir....* gnu/services/ldap.scm (slapd-configuration): Update default value for run-dir to match defaults of 389-ds-base package. * doc/guix.texi: Update documentation. Ricardo Wurmus
2022-12-14gnu: Add directory-server-service-type....* gnu/services/ldap.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (LDAP Services): Document it. Ricardo Wurmus