On Thu, Feb 17, 2005 at 09:36:55AM +0000, Trog said: > On Wed, 2005-02-16 at 12:53 -0500, Stephen Gran wrote: > > On Wed, Feb 09, 2005 at 09:04:52PM -0500, Stephen Gran said: > > > Hello all, > > > > > > It seems that freshclam can be hung if it receives a HUP shortly after > > > receiving an alrm (that is, when waking up to check for a new version). > > > > OK, so some further research shows it to be a problem because the logg*() > > code is threaded (ifdef CL_THREAD_SAFE, of course), but freshclam does > > not itself use threads. > > > > The logg() code isn't threaded per se, but does use a mutex. The correct > solution to this is to remove the logg() call in the signal handler.
OK, will that be done? -- -------------------------------------------------------------------------- | Stephen Gran | Some husbands are living proof that a | | [EMAIL PROTECTED] | woman can take a joke. | | http://www.lobefin.net/~steve | | --------------------------------------------------------------------------
pgphandbecEwv.pgp
Description: PGP signature
_______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel