]> git.marmaro.de Git - mmh/blobdiff - sbr/context_read.c
* man/mhbuild.man: wrapped one appearance of "Content-Disposition"
[mmh] / sbr / context_read.c
index 6a1eea1259cfbaa94ac75a41232ff8abb3387525..32051c525134f331537485f130f371b1bf58a97a 100644 (file)
@@ -38,6 +38,13 @@ context_read (void)
     register   struct  passwd  *pw;            /* getpwuid() results */
     register   FILE            *ib;            /* profile and context file pointer */
 
+    /*
+     *  If this routine _is_ called again (despite the wanings in the
+     *  comments above), return immediately.
+     */
+    if ( m_defs != 0 )
+        return;
+
     /*
      * Find user's home directory.  Try the HOME environment variable first,
      * the home directory field in the password file if that's not found.