projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix burst so it actually complies with RFC 934. This means discarding
[mmh]
/
config
/
config.c
diff --git
a/config/config.c
b/config/config.c
index
b08b3e2
..
72896c2
100644
(file)
--- a/
config/config.c
+++ b/
config/config.c
@@
-9,10
+9,7
@@
#include <h/mh.h>
#include <stdio.h>
#include <h/mh.h>
#include <stdio.h>
-
-#ifdef MHRC
-# include <pwd.h>
-#endif
+#include <pwd.h>
#define nmhbindir(file) NMHBINDIR#file
#define nmhetcdir(file) NMHETCDIR#file
#define nmhbindir(file) NMHBINDIR#file
#define nmhetcdir(file) NMHETCDIR#file
@@
-35,21
+32,16
@@
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;
-#endif
-#ifdef MHRC
context_read();
context_read();
-#endif
switch (*file) {
case '/':
/* If already absolute pathname, return it */
return file;
switch (*file) {
case '/':
/* If already absolute pathname, return it */
return file;
-#ifdef MHRC
case '~':
/* Expand ~username */
if ((cp = strchr(pp = file + 1, '/')))
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:
if (access (epath, R_OK) != NOTOK)
return epath; /* else fall */
try_it:
-#endif /* MHRC */
default:
/* Check nmh Mail directory */
default:
/* Check nmh Mail directory */
@@
-203,6
+194,13
@@
char *faceproc = NULL;
char *fileproc = nmhbindir (/refile);
char *fileproc = nmhbindir (/refile);
+/*
+ * This program is used to optionally format the bodies of messages by
+ * "mhl".
+ */
+
+char *formatproc = NULL;
+
/*
* This program is called to incorporate messages into a folder.
*/
/*
* This program is called to incorporate messages into a folder.
*/
@@
-355,7
+353,7
@@
char *AliasFile = nmhetcdir (/MailAliases);
* Folders (directories) are created with this protection (mode)
*/
* Folders (directories) are created with this protection (mode)
*/
-char *foldprot = DEFAULT_FOLDER_MODE;
+char *foldprot = "700";
/*
* Every NEW message will be created with this protection. When a
/*
* Every NEW message will be created with this protection. When a
@@
-363,5
+361,5
@@
char *foldprot = DEFAULT_FOLDER_MODE;
* to messages coming in through inc.
*/
* to messages coming in through inc.
*/
-char *msgprot = DEFAULT_MESSAGE_MODE;
+char *msgprot = "600";