Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] dbdump command

2007-02-23 by Oliver Fromme

Emmanuel Dreyfus wrote:
 > attila.bruncsak@... wrote:
 > > > I thought smfi_main() was never returning. Does it?
 > > Yes it does. RTFM. Absolutely no need for the use of atexit() here.
 > 
 > I just looked at the code, and we already dump when smfi_main exits.
 > atexit serves just as a safety net if libmilter calls exit(), but I'm not
 > sure if it can heppen.

There are no calls to exit() or _exit() in the libmilter
sources.  Easy to check with "grep -w".  If there were any,
that would be a serious bug.  A library may never take
away process termination control from the application.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Gesch\ufffdftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M\ufffdn-
chen, HRB 125758,  Gesch\ufffdftsf\ufffdhrer: Maik Bachmann, Olaf Erb, Ralf Gebhart
Any opinions expressed in this message are personal to the author and may
not necessarily reflect the opinions of secnetix GmbH & Co KG in any way.
FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"UNIX was not designed to stop you from doing stupid things,
because that would also stop you from doing clever things."
        -- Doug Gwyn

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.