#69890 closed enhancement (fixed)
legacysupport: add SLIST_REMOVE_AFTER
Reported by: | barracuda156 | Owned by: | fhgwright (Fred Wright) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | mascguy (Christopher Nielsen), fhgwright (Fred Wright), catap (Kirill A. Korinsky) | |
Port: | legacy-support |
Description
Could we add support for SLIST_REMOVE_AFTER
, which is missing from sys/queue.h
in some older OS?
Perhaps, from Apple code:
#ifndef SLIST_REMOVE_AFTER #define SLIST_REMOVE_AFTER(elm, field) do { \ SLIST_NEXT(elm, field) = \ SLIST_NEXT(SLIST_NEXT(elm, field), field); \ } while (0) #endif
https://opensource.apple.com/source/Libc/Libc-997.1.1/gen/FreeBSD/popen.c.auto.html
Change History (4)
comment:1 Changed 4 months ago by fhgwright (Fred Wright)
Owner: | set to fhgwright |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 Changed 4 months ago by fhgwright (Fred Wright)
comment:3 Changed 4 months ago by fhgwright (Fred Wright)
comment:4 Changed 3 months ago by fhgwright (Fred Wright)
Note: See
TracTickets for help on using
tickets.
In bcf07c4875bbc1ee44d0bb26a2eb2365b63c8dac/macports-legacy-support (master):