[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH 0/2] Delete CIRCLEQ
- To: matthew green <mrg%eterna.com.au@localhost>
- Subject: Re: [PATCH 0/2] Delete CIRCLEQ
- From: Kamil Rytarowski <firstname.lastname@example.org>
- Date: Mon, 12 Oct 2020 11:49:36 +0200
Everything relatively modern that uses sys/queue.h directly was
already switched a long time ago to TAILQ.
Christos Zoulas changed most users of CIRCLEQ in the src tree 6 years
ago. The last leftover is handled in this patchset.
I was able to find some 3rd projects using CIRCLEQ, but probably all
of them are both: 1. old 2. ship with a local copy of sys/queue.h.
There is not much working code using CIRCLEQ left and NetBSD is pretty
much the last one to deliver it.
It's also broken for modern compilers and we need to launder pointers
to workaround the pointer aliasing design flaw.
CTO, Moritz Systems
pon., 12 paź 2020 o 04:23 matthew green <mrg%eterna.com.au@localhost> napisał(a):
> Kamil Rytarowski writes:
> > Switch the last user (ypserv) from CIRCLEQ to TAILQ.
> > This is inspired by analogous refactoring from OpenBSD:
> > https://github.com/openbsd/src/commit/d53c0cf4d32fdbd8b42debfba068f1b0efa423dc#diff-8d0a4fbb89658213ebf314ff188581d7
> > Remove the CIRCLEQ API completely from the system headers and document
> > this fact in the QUEUE(3) man-page.
> why? queue.h may be used by more than src.
> i don't see any benefit except forcing working code to
> be changed, possibly introducing bugs.
> please leave it alone.
Main Index |
Thread Index |