From fd8f55ffd25bfe4eed1524f3daba2f05f8dd373e Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Tue, 18 Jun 2019 00:06:40 +0300 Subject: Don't accept database types not supported by mailutils For details, see the last paragraph in: http://mail.gnu.org.ua/mailman/listarchive/bug-mailfromd/2019-06/msg00001.html * configure.ac (db_type_to_feature): Make sure empty string is never returned. --- configure.ac | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 54c9ebd8..289a2916 100644 --- a/configure.ac +++ b/configure.ac @@ -146,8 +146,21 @@ ndbm:ndbm # Convert database type to mailutils feature db_type_to_feature() { - sed -n /^$(echo "$1" | tr A-Z a-z)':/s/.*://p' <