You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2006/08/10 10:35:56 UTC

Re: spamd uses Carp for a single call?

Theo Van Dinter writes:
> While digging around, trying to find modules that we don't really need to
> load, I came across spamd's use of Carp which is a single call:
> 
> spamd/spamd.raw:use Carp ();
> spamd/spamd.raw:  Carp::cluck("spamd: caught SIGUSR2 - dumping backtrace. ".
> 
> Is this something that we can remove?

This is to generate a backtrace on SIGUSR2 -- it's quite handy.

If there's a cleaner way to backtrace, I'd be happy to see it replaced,
but that's pretty abbreviated right there ;)

--j.