From aa2bd5081731e83a2cedba6f7f2be61cde201e7d Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Fri, 9 Dec 2011 17:17:50 +0100 Subject: [PATCH] Removed the option to disable `~user' support (MHRC) --- acconfig.h | 5 ----- config/config.c | 9 ++------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/acconfig.h b/acconfig.h index c8882cb..f3d9ca3 100644 --- a/acconfig.h +++ b/acconfig.h @@ -70,11 +70,6 @@ #define SLOCAL_MBOX 1 /* - * If this is defined, nmh will recognize the ~ construct. - */ -#define MHRC 1 - -/* * Compile simple ftp client into mhshow/mhstore. This will be used by * mhshow/mhstore for ftp access unless you have specified another access * method in your .mh_profile or mhn.defaults. Use the "nmh-access-ftp" diff --git a/config/config.c b/config/config.c index cc12128..245ecde 100644 --- a/config/config.c +++ b/config/config.c @@ -7,10 +7,7 @@ */ #include - -#ifdef MHRC -# include -#endif +#include /* @@ -28,7 +25,6 @@ etcpath (char *file) { static char epath[PATH_MAX]; char *cp; -#ifdef MHRC char *pp; struct passwd *pw; @@ -56,9 +52,8 @@ etcpath (char *file) if (access (epath, R_OK) != NOTOK) return epath; /* else fall */ } -try_it: -#endif /* MHRC */ +try_it: if (*file == '/') { /* If already absolute pathname, return it */ return file; -- 1.7.10.4