]> diplodocus.org Git - nmh/blobdiff - sbr/context_read.c
Makefile.am: Remove multiple `mkdir -p' for etc; use ./configure.
[nmh] / sbr / context_read.c
index 778d4a35db01ae4c2fb46edd793631c7776e8def..a4c9820a7807f3ec5d9b158e69de70709f941f80 100644 (file)
@@ -22,6 +22,9 @@
  */
 
 #include <h/mh.h>                              /* mh internals */
  */
 
 #include <h/mh.h>                              /* mh internals */
+#include "lock_file.h"
+#include "m_maildir.h"
+#include "makedir.h"
 #include <pwd.h>                               /* structure for getpwuid() results */
 
 void
 #include <pwd.h>                               /* structure for getpwuid() results */
 
 void
@@ -36,7 +39,7 @@ context_read (void)
     int failed_to_lock = 0;
 
     /*
     int failed_to_lock = 0;
 
     /*
-     *  If this routine _is_ called again (despite the wanings in the
+     *  If this routine _is_ called again (despite the warnings in the
      *  comments above), return immediately.
      */
     if ( m_defs != 0 )
      *  comments above), return immediately.
      */
     if ( m_defs != 0 )
@@ -128,7 +131,7 @@ context_read (void)
 
     /* context is NULL if context_foil() was called to disable use of context
      * We also support users setting explicitly setting MHCONTEXT to /dev/null.
 
     /* context is NULL if context_foil() was called to disable use of context
      * We also support users setting explicitly setting MHCONTEXT to /dev/null.
-     * (if this wasn't specialcased then the locking would be liable to fail)
+     * (if this wasn't special-cased then the locking would be liable to fail)
      */
     if (!cp || (strcmp(cp,"/dev/null") == 0)) {
        ctxpath = NULL;
      */
     if (!cp || (strcmp(cp,"/dev/null") == 0)) {
        ctxpath = NULL;