On Thu, Jul 24, 2008 at 1:22 AM, Matthew Dillon
<[EMAIL PROTECTED]> wrote:
> dillon      2008/07/23 10:22:33 PDT
>
> DragonFly src repository
>
>  Modified files:
>    sys/sys              imgact_elf.h kernel.h mman.h proc.h
>                         queue.h systm.h
>  Log:
>  Synchronize some of the machine-independant AMD64 bits.
>
>  Obtained-from: Jordan Gordeev <[EMAIL PROTECTED]>
>
>  Revision  Changes    Path
>  1.9       +1 -0      src/sys/sys/imgact_elf.h
>  1.31      +2 -0      src/sys/sys/kernel.h
>  1.9       +1 -0      src/sys/sys/mman.h
>  1.121     +1 -0      src/sys/sys/proc.h
>  1.10      +6 -0      src/sys/sys/queue.h
>  1.80      +3 -1      src/sys/sys/systm.h
>
>

> http://www.dragonflybsd.org/cvsweb/src/sys/sys/queue.h.diff?r1=1.9&r2=1.10&f=u

Why would we need this:
+#define        TAILQ_FOREACH_SAFE(var, head, field, tvar)                      
\
+       for ((var) = TAILQ_FIRST((head));                               \
+           (var) && ((tvar) = TAILQ_NEXT((var), field), 1);            \
+           (var) = (tvar))

We already have TAILQ_FOREACH_MUTABLE

Best Regards,
sephe

-- 
Live Free or Die

Reply via email to