X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=config%2Fconfig.c;h=a4edc46545096f3620462eba1b82962503508c7f;hb=9680f38826145311f8720dab2d19d3796e8514ee;hp=b08b3e23a58f6376487a97390f4a7a2f6d7fbfd8;hpb=aac9670c207aaefb17521c2ce4db39cb8893f660;p=mmh diff --git a/config/config.c b/config/config.c index b08b3e2..a4edc46 100644 --- a/config/config.c +++ b/config/config.c @@ -9,10 +9,7 @@ #include #include - -#ifdef MHRC -# include -#endif +#include #define nmhbindir(file) NMHBINDIR#file #define nmhetcdir(file) NMHETCDIR#file @@ -35,21 +32,16 @@ etcpath (char *file) { static char epath[PATH_MAX]; char *cp; -#ifdef MHRC char *pp; struct passwd *pw; -#endif -#ifdef MHRC context_read(); -#endif switch (*file) { case '/': /* If already absolute pathname, return it */ return file; -#ifdef MHRC case '~': /* Expand ~username */ if ((cp = strchr(pp = file + 1, '/'))) @@ -73,7 +65,6 @@ etcpath (char *file) if (access (epath, R_OK) != NOTOK) return epath; /* else fall */ try_it: -#endif /* MHRC */ default: /* Check nmh Mail directory */