Yahoo Groups archive

Milter-greylist

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

Message

Re: sync.c:local_addr() use

2005-03-26 by ranko_z

--- In milter-greylist@yahoogroups.com, "ranko_z" <ranko@s...> wrote:
> 
> Something is really strange here...
>

Ok, I have figured it out where the actual problem is:
The code is threaded, however the _REENTRANT define is not declared
anywhere during the compilation, thus errno was inspected as a simple
integer instead as the TLS variable.

Once I have added to -D_REENTRANT to the Makefile, all worked well
plus a bunch of compile warnings related to strtok_r disappeard.

R.

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.