It is described in detail in QUEUE(3bsd), present on FreeBSD CURRENT, but absent from libbsd's sys/queue.h header. The fix should be pretty trivial, but I'm kind of surprised this was missing. Other missing macros (via diff(1)): *_FOREACH_FROM() *_FOREACH_FROM_SAFE() LIST_PREV() I don't particularly care about the FOREACH_FROM() stuff, but LIST_PREV() is pretty important. Can we get LIST_PREV() and SLIST_SWAP() imported? Thanks.
Hi! (In reply to C from comment #0) > It is described in detail in QUEUE(3bsd), present on FreeBSD CURRENT, but > absent from libbsd's sys/queue.h header. > > The fix should be pretty trivial, but I'm kind of surprised this was missing. I simply have not done a global sync for a while. I should probably go over every one of the imported modules and check if there are interesting changes in the various BSDs to pull in. > Other missing macros (via diff(1)): > > *_FOREACH_FROM() > *_FOREACH_FROM_SAFE() > LIST_PREV() > > I don't particularly care about the FOREACH_FROM() stuff, but LIST_PREV() is > pretty important. Can we get LIST_PREV() and SLIST_SWAP() imported? Updated to the version in CURRENT. Will be included in the next libbsd release. Thanks, Guillem
Much appreciated, thanks.
This has now been released as part of libbsd 0.8.0.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.