X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fcontext_read.c;h=32051c525134f331537485f130f371b1bf58a97a;hb=ac33b2e9c3632537b93fc4755a925c682d1eb82e;hp=6a1eea1259cfbaa94ac75a41232ff8abb3387525;hpb=b9d1fc0c85e9bd18e5e768913ba2c0a00f19876c;p=mmh diff --git a/sbr/context_read.c b/sbr/context_read.c index 6a1eea1..32051c5 100644 --- a/sbr/context_read.c +++ b/sbr/context_read.c @@ -39,6 +39,13 @@ context_read (void) 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. */