From 8bcb1cbdea4b28f17ef6cd8cc2379dcbde47db4c Mon Sep 17 00:00:00 2001 From: Vincent Lefevre Date: Sun, 30 Apr 2017 12:25:08 -0700 Subject: Convert all exec calls to use mutt_envlist(), remove setenv function. The documentation implies that all children processes will be affected by the setenv command, so convert all the exec calls to use mutt_envlist(). The setenv("GPG_TTY") call is no longer needed so remove it. With that removed, there are no other setenv calls in mutt, so remove the autoconf check and replacement function. --- m4/gettext.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm4') diff --git a/m4/gettext.m4 b/m4/gettext.m4 index b6d1648b..8d68d667 100644 --- a/m4/gettext.m4 +++ b/m4/gettext.m4 @@ -318,7 +318,7 @@ AC_DEFUN([MUTT_AM_GNU_GETTEXT], AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ stdlib.h string.h unistd.h sys/param.h]) AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getcwd getegid geteuid \ -getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \ +getgid getuid mempcpy munmap putenv setlocale stpcpy strchr strcasecmp \ strdup strtoul tsearch __argz_count __argz_stringify __argz_next]) MUTT_AM_ICONV -- cgit v1.2.3