Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: milter-greylist-4.1.11 is available

2009-02-08 by reschauzier

> 
> Rudy introduced STAILQ_* macros, which seems to be a fairly new beast. I
> fixed it in CVS. Can you check out the latest code and check if it
> builds? You will have to run configure again.
> 

The queue.h file on my system looks like

http://gel.sourceforge.net/examples/queue_8h-source.php

stailq is the single-linked list version of tailq (double linked).

When changing the code from stailq to tailq, you'll need to take
special care of the REMOVE macro, wich has a different number of
parameters between the two:

STAILQ_REMOVE(STAILQ_HEAD *head, TYPE *elm, TYPE, STAILQ_ENTRY NAME);

and 

TAILQ_REMOVE(TAILQ_HEAD *head, TYPE *elm, TAILQ_ENTRY NAME);

i.e., you'll need to remove the third parameter in the call.

Rudy.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.