[PATCH] configfile message [ was: ~/.bogofilter.cf not found ]

David Relson relson at osagesoftware.com
Fri Mar 19 13:53:33 CET 2004


On Fri, 19 Mar 2004 13:33:03 +0100
Boris 'pi' Piwinger wrote:

> David Relson wrote:
> 
> > After fixing the bug I forgot to run "make check".  When I did, I
> > found and fixed the problem with t.bulkmode.  The fix is in
> > patch.0318.configfile which is on SourceForge, but hasn't made it to
> > all the mirrors.  I've attached a copy :-)
> 
> Fails. I put the patch in the source directory (as before).
> I get:
> 
> can't find file to patch at input line 6
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |##### Apply using "patch -p1" ######
> |
> |diff -u -r -b --exclude-from=diff.excl
> 0173/src/bogoconfig.c cvs/src/bogoconfig.c
> |--- 0173/src/bogoconfig.c      2004-03-18
> 17:49:44.000000000 -0500
> |+++ cvs/src/bogoconfig.c       2004-03-18
> 16:05:56.000000000 -0500
> --------------------------
> File to patch:
> 
> Same thing if I use patch -p1 instead of -p0.

For some reason, patches produced by cvs aren't in the proper format for
patch.  When asked "File to patch:", you need to enter the file path
(relative to your current directory).  Likely the right answer is
"src/bogoconfig.c" or "bogoconfig.c"




More information about the Bogofilter mailing list