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





--- Comment #8 from Mark Martinec <[EMAIL PROTECTED]>  2008-09-19 09:44:21 PST 
---
> _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.

Ok, done (and some more). This should deal with failing bayesdbm.t test 38
on Hudson; don't know yet what happened at test 39.


Committed revision 697147 :
  ArchiveIterator: prevent _scan_directory from passing directories
  to _scan_file (on NFS it would fail with EISDIR on read(2);
  let _run_file double-check what kind of a path it is dealing
  with, also allow it to deal with STDIN (which might become
  useful some day)


-- 
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