https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5981





--- Comment #7 from Justin Mason <[EMAIL PROTECTED]>  2008-09-19 08:23:11 PST 
---
(In reply to comment #6)
> < directory names in a list of files, or should do a stat unconditionally?
> 
> > directory names in a list of files, or should _scan_file do a stat 
> > unconditionally?

_run_file is already statting the file/dir:

  if (! $self->{opt_all} && -s INPUT > BIG_BYTES) {

so I say skip directories there.  stat()s in the _scan_file method can be
expensive if there are millions of files.


-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to