Update of /cvsroot/popfile/engine/Classifier
In directory sc8-pr-cvs1:/tmp/cvs-serv4776/Classifier
Modified Files:
Bayes.pm
Log Message:
There was a hardcoded reference to the messages/ directory which meant that if you used the msgdir command line option the XPL link would not work because the new directory name would not get stripped
Index: Bayes.pm
===================================================================
RCS file: /cvsroot/popfile/engine/Classifier/Bayes.pm,v
retrieving revision 1.105
retrieving revision 1.106
diff -C2 -d -r1.105 -r1.106
*** Bayes.pm 27 Feb 2003 02:39:50 -0000 1.105
--- Bayes.pm 28 Feb 2003 00:08:50 -0000 1.106
***************
*** 867,871 ****
# Add the XPL header
! $temp_file =~ s/messages\/(.*)/$1/;
my $xpl = '';
--- 867,871 ----
# Add the XPL header
! $temp_file =~ s/.*\/([^\/]+)/$1/;
my $xpl = '';
|