mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 18:33:16 +00:00
Add comment about messageDedup being slow
git-svn: trunk@1622
This commit is contained in:
parent
5a29f422ae
commit
70a968be27
1 changed files with 5 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
static char const rcsid[] = "$Id: message.c,v 1.156 2005/05/15 15:46:12 nigelhorne Exp $";
|
static char const rcsid[] = "$Id: message.c,v 1.157 2005/06/19 12:03:43 nigelhorne Exp $";
|
||||||
|
|
||||||
#if HAVE_CONFIG_H
|
#if HAVE_CONFIG_H
|
||||||
#include "clamav-config.h"
|
#include "clamav-config.h"
|
||||||
|
@ -2189,6 +2189,10 @@ usefulArg(const char *arg)
|
||||||
/*
|
/*
|
||||||
* We've run out of memory. Try to recover some by
|
* We've run out of memory. Try to recover some by
|
||||||
* deduping the message
|
* deduping the message
|
||||||
|
*
|
||||||
|
* FIXME: this can take a long time. The real solution is for system admins
|
||||||
|
* to refrain from setting ulimits too low, then this routine won't be
|
||||||
|
* called
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
messageDedup(message *m)
|
messageDedup(message *m)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue