From 69b7a02e9ddf5166d74015140ae0a409d127fdba Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Sun, 30 Apr 2017 15:56:15 -0700 Subject: [PATCH] Remove glibc-specific execvpe() call in sendlib.c. (see #3937) Changeset fa1192803257 converted all exec calls to use mutt_envlist(). Unfortunately, the call in sendlib.c, execvpe(), is a glibc extension. Convert back to execvp() for now, to fix the build on MacOS. --- sendlib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sendlib.c b/sendlib.c index ad28de0da..bd0770835 100644 --- a/sendlib.c +++ b/sendlib.c @@ -2240,7 +2240,9 @@ send_msg (const char *path, char **args, const char *msg, char **tempfile) _exit (S_ERR); } - execvpe (path, args, mutt_envlist ()); + /* execvpe is a glibc extension */ + /* execvpe (path, args, mutt_envlist ()); */ + execvp (path, args); _exit (S_ERR); } else if (pid == -1) -- 2.40.0