add patches from OpenBSD port - bmf - bmf (Bayesian Mail Filter) 0.9.4 fork + patches
 (HTM) git clone git://git.codemadness.org/bmf
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 4857ceba2cfedeafd8971a8e6e3db4ce2ea7f1b6
 (DIR) parent 0983b0f64c3e1bf7fa03f2a4060e6f25e9e79cef
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sat, 22 Sep 2018 17:49:15 +0200
       
       add patches from OpenBSD port
       
       Diffstat:
         M README                              |      19 +++++++++++++++++++
         M bmf.c                               |       2 +-
       
       2 files changed, 20 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/README b/README
       @@ -92,6 +92,25 @@ These will override these commands:
          <Esc>t = test for spamicity.
          <Esc>u = de-register as spam, register as non-spam, and move to inbox folder.
        
       +Alternatively, if you use gnus you could add the following lines to your
       +.gnus to accomplish a similar result:
       +
       +(defun spam ()
       +  (interactive)
       +    (pipe-message "/usr/local/bin/bmf -S")
       +    (gnus-summary-move-article 1 "nnml:Spam"))
       +
       +(defun notspam ()
       +  (interactive)
       +    (pipe-message "/usr/local/bin/bmf -N")
       +    (gnus-summary-move-article 1 "nnml:inbox"))
       +
       +(add-hook
       +  'gnus-sum-load-hook
       +  (lambda nil
       +    (define-key gnus-summary-mode-map (read-kbd-macro "C-c C-o") 'spam)
       +    (define-key gnus-summary-mode-map (read-kbd-macro "C-c C-p") 'notspam)))
       +
        How to train bmf
        ================
        
 (DIR) diff --git a/bmf.c b/bmf.c
       @@ -88,7 +88,7 @@ int main( int argc, char** argv )
            stats_t     stats;
            lex_t       lex;
            tok_t       tok;
       -    bool_t      is_spam;
       +    bool_t      is_spam = false;
        
            int fd = STDIN_FILENO;
            char* infile = NULL;