projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the option to disable `~user' support (MHRC)
[mmh]
/
config
/
config.c
diff --git
a/config/config.c
b/config/config.c
index
cc12128
..
245ecde
100644
(file)
--- a/
config/config.c
+++ b/
config/config.c
@@
-7,10
+7,7
@@
*/
#include <h/mh.h>
*/
#include <h/mh.h>
-
-#ifdef MHRC
-# include <pwd.h>
-#endif
+#include <pwd.h>
/*
/*
@@
-28,7
+25,6
@@
etcpath (char *file)
{
static char epath[PATH_MAX];
char *cp;
{
static char epath[PATH_MAX];
char *cp;
-#ifdef MHRC
char *pp;
struct passwd *pw;
char *pp;
struct passwd *pw;
@@
-56,9
+52,8
@@
etcpath (char *file)
if (access (epath, R_OK) != NOTOK)
return epath; /* else fall */
}
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;
if (*file == '/') {
/* If already absolute pathname, return it */
return file;