aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-11-08 17:49:03 +0200
committerSergey Poznyakoff <gray@gnu.org>2020-11-08 17:49:03 +0200
commitc16d1f1edc24c7a0e4eb629712256beecebc16cb (patch)
tree0e3cd4db9fc56e5d4f084130c4775c49a52ae9a2 /src
parentb754aebac4859017975a021f9c52ed7ad225f72f (diff)
downloadmailfromd-c16d1f1edc24c7a0e4eb629712256beecebc16cb.tar.gz
mailfromd-c16d1f1edc24c7a0e4eb629712256beecebc16cb.tar.bz2
Remove obsolete ifdefs
Diffstat (limited to 'src')
-rw-r--r--src/builtin/db.bi2
-rw-r--r--src/builtin/debug.bi1
-rw-r--r--src/builtin/mbox.bi9
3 files changed, 1 insertions, 11 deletions
diff --git a/src/builtin/db.bi b/src/builtin/db.bi
index 9da7869a..d9769526 100644
--- a/src/builtin/db.bi
+++ b/src/builtin/db.bi
@@ -737,7 +737,7 @@ is_greylisted_traditional(eval_environ_t env, char *email)
MF_THROW(mfe_failure,
_("is_greylisted is not implemented for traditional greylist databases; "
"see documentation, chapter %s %s for more info"),
- "4.12.1.23", "Greylisting functions");
+ "5.30", "Greylisting functions");
return 0;
}
diff --git a/src/builtin/debug.bi b/src/builtin/debug.bi
index e53a1b61..ec07459f 100644
--- a/src/builtin/debug.bi
+++ b/src/builtin/debug.bi
@@ -31,7 +31,6 @@ MF_DEFUN(debug_level, NUMBER, OPTIONAL, STRING modname)
}
END
-/* FIXME: minlevel is no longer used */
MF_DEFUN(debug_spec, STRING, OPTIONAL, STRING modnames, NUMBER showunset)
{
mu_stream_t str;
diff --git a/src/builtin/mbox.bi b/src/builtin/mbox.bi
index e562b02a..e824266d 100644
--- a/src/builtin/mbox.bi
+++ b/src/builtin/mbox.bi
@@ -136,10 +136,6 @@ MF_DEFUN(mailbox_open, NUMBER, STRING url, OPTIONAL, STRING mode, STRING perms)
}
if (MF_DEFINED(perms)) {
- /* If MU_STREAM_IRGRP is defined, the remaining three
- permissions flags are defined as well.
- FIXME: Remove ifdef when MU 2.0 is out. */
-#ifdef MU_STREAM_IRGRP
int f;
const char *p;
MF_ASSERT(mu_parse_stream_perm_string(&f, MF_OPTVAL(perms), &p)
@@ -147,11 +143,6 @@ MF_DEFUN(mailbox_open, NUMBER, STRING url, OPTIONAL, STRING mode, STRING perms)
mfe_range, /* FIXME: introduce mfe_inval? */
_("invalid permissions (near %s)"), p);
flags |= f;
-#else
- MF_THROW(mfe_failure,
- _("this version of Mailutils does not support "
- "configurable mailbox permissions"));
-#endif
}
rc = mu_mailbox_create(&mp->mbox, url);

Return to:

Send suggestions and report system problems to the System administrator.