From: Ken Hornstein Date: Tue, 15 Oct 2013 19:02:18 +0000 (-0400) Subject: Remove support for NOPUBLICSEQ. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/9dcfb0e00efe340dda3234940cf27cf691b055e9?ds=inline;hp=892a81dbb7c632d80fb528609f5abbd3b7ba43c6 Remove support for NOPUBLICSEQ. --- diff --git a/config/config.c b/config/config.c index 8495d576..3971d528 100644 --- a/config/config.c +++ b/config/config.c @@ -156,15 +156,11 @@ char *mhetcdir = NMHETCDIR; char *context = "context"; /* - * Default name of file for public sequences. If NULL, - * then nmh will use private sequences by default, unless the - * user defines a value using the "mh-sequences" profile entry. + * Default name of file for public sequences. If "\0" (an empty + * "mh-sequences" profile entry), then nmh will use private sequences by + * default. */ -#ifdef NOPUBLICSEQ -char *mh_seq = NULL; -#else char *mh_seq = ".mh_sequences"; -#endif /* * nmh globals diff --git a/docs/pending-release-notes b/docs/pending-release-notes index cbc3f2ad..b04f610c 100644 --- a/docs/pending-release-notes +++ b/docs/pending-release-notes @@ -93,6 +93,8 @@ OBSOLETE FEATURES default using the PAGER environment variable or entries in .mh_profile. - The configure flag --with-editor has been removed; the fallback editor if none is configured is "vi". +- The support for the undocumented NOPUBLICSEQ preprocessor definition + to disable public sequence support has been removed. ------------------- DEPRECATED FEATURES diff --git a/sbr/seq_read.c b/sbr/seq_read.c index 4b9e815d..aeb76fc1 100644 --- a/sbr/seq_read.c +++ b/sbr/seq_read.c @@ -61,8 +61,7 @@ seq_public (struct msgs *mp, int lockflag) m_getfld_state_t gstate = 0; /* - * If mh_seq == NULL (such as if nmh been compiled with - * NOPUBLICSEQ), or if *mh_seq == '\0' (the user has defined + * If mh_seq == NULL or if *mh_seq == '\0' (the user has defined * the "mh-sequences" profile entry, but left it empty), * then just return, and do not initialize any public sequences. */