changeset: 7031:7e1edf6a7ed7 user: Kevin McCarthy <ke...@8t8.us> date: Sun Apr 30 15:56:15 2017 -0700 link: http://dev.mutt.org/hg/mutt/rev/7e1edf6a7ed7
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. diffs (14 lines): diff -r 7dd3de416a54 -r 7e1edf6a7ed7 sendlib.c --- a/sendlib.c Sun Apr 30 15:21:31 2017 -0700 +++ b/sendlib.c Sun Apr 30 15:56:15 2017 -0700 @@ -2240,7 +2240,9 @@ _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)