Re: [cvs] bogofilter/src bogoutil.c,1.210,1.211 paths.c,1.37,1.38
Matthias Andree <[email protected]>
| Newsgroups | gmane.mail.bogofilter.devel |
|---|---|
| Message-ID | <[email protected]> |
Matthias Andree <[email protected]> writes: > Update of /cvsroot/bogofilter/bogofilter/src > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15261/src > > Modified Files: > bogoutil.c paths.c > Log Message: > Back out paths.c change, breaks bogofilter. > > Index: bogoutil.c > =================================================================== > RCS file: /cvsroot/bogofilter/bogofilter/src/bogoutil.c,v > retrieving revision 1.210 > retrieving revision 1.211 > diff -u -d -r1.210 -r1.211 > --- bogoutil.c 11 Apr 2005 19:06:31 -0000 1.210 > +++ bogoutil.c 20 Apr 2005 02:33:27 -0000 1.211 > @@ -850,6 +850,9 @@ > exit(EX_ERROR); > } > > + if (bfp->dirname == NULL) > + bfp->dirname = xstrdup(CURDIR_S); > + Gee, this appears to be a NO-OP. Holy cow, this is a nasty one, and I won't have time before Friday to look into this. To reproduce the problem I was trying to fix: cd $HOME/.bogofilter bogoutil -d wordlist.db >wordlist.txt Prints «bogoutil: error: cannot normalize path "(null)": Invalid argument» -- Matthias Andree _______________________________________________ Bogofilter-dev mailing list [email protected] http://www.bogofilter.org/mailman/listinfo/bogofilter-dev