Changeset 107
- Timestamp:
- 11.12.2006 01:23:07 (2 years ago)
- Files:
-
- trunk/devel/FuzzyOcr.cf (modified) (1 diff)
- trunk/devel/FuzzyOcr/Config.pm (modified) (4 diffs)
- trunk/devel/FuzzyOcr/Hashing.pm (modified) (2 diffs)
- trunk/devel/Utils/fuzzy-find (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/devel/FuzzyOcr.cf
r104 r107 149 149 # types of spam, setting it too low will lower the effectiveness of the 150 150 # function. 151 # Default value: 10 .151 # Default value: 10 152 152 #focr_autosort_buffer 10 153 153 trunk/devel/FuzzyOcr/Config.pm
r106 r107 677 677 infolog("<$hash> Known BAD Image Hashes Available"); 678 678 $sdbm->UnLock; 679 undef $sdbm; 679 680 untie %DB; 680 681 } … … 698 699 infolog("<$hash> Known GOOD Image Hashes Available"); 699 700 $sdbm->UnLock; 701 undef $sdbm; 700 702 untie %DB; 701 703 } … … 740 742 } 741 743 $sdbm->UnLock; 744 undef $sdbm; 742 745 untie %DB; 743 746 infolog("Stored [$err] Hashes in $db.$tab") if $err>0; … … 777 780 } 778 781 $sdbm->UnLock; 782 undef $sdbm; 779 783 untie %DB; 780 784 infolog("Stored [$err] Hashes in $db.$tab") if $err>0; trunk/devel/FuzzyOcr/Hashing.pm
r99 r107 191 191 } 192 192 $sdbm->UnLock; 193 undef $sdbm; 193 194 untie %DB; 194 195 return ($ret,$dinfo); … … 300 301 } 301 302 $sdbm->UnLock; 303 undef $sdbm; 302 304 untie %DB; 303 305 } trunk/devel/Utils/fuzzy-find
r89 r107 42 42 print "Available options:\n"; 43 43 print "--config=s Specify location of FuzzyOcr.cf\n"; 44 print " Default: /etc/mail/spamassas in/FuzzyOcr.cf\n";44 print " Default: /etc/mail/spamassassin/FuzzyOcr.cf\n"; 45 45 print "--delete Removes the hash from the database\n"; 46 46 print "--learn-ham Add the hash as ham to the database\n";
