Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] milter-greylist-2.0.2 crash

2006-01-25 by Matthias Scheler

On Wed, Jan 25, 2006 at 10:55:26PM +0100, Emmanuel Dreyfus wrote:
> Eugene, can you finish and test Matthias' hack? If it works, I'll
> integrate it.

There's a typo in it ("dupfd" instead of "dumpfd") but the compiler
will catch that.

> We also need a configure test to enable the hack.

Do we? The check below might be good enough:

#if defined(__sun__) && !defined(_LP64)

If you insist on a configure check you can include "stdio_impl.h",
check whether "struct __FILE_TAG" has a member "_file" and examine
its size. If the size is 1 (unsigned char) you got the API/ABI problem.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/

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.