summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-06-08 17:59:58 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2017-06-08 17:59:58 +0300
commite4c393f9b98164f5a9c1f5076181227c52565bfc (patch)
treed6e4d96352dc18821b56df3a869305111b966afb
parent60db45be4fab2c7a4559605e5d1f483c5058bd05 (diff)
parent08d8bd1bf9226a2c1384acee80e74059da828285 (diff)
downloadmailutils-e4c393f9b98164f5a9c1f5076181227c52565bfc.tar.gz
mailutils-e4c393f9b98164f5a9c1f5076181227c52565bfc.tar.bz2
Merge branch 'locus' of git.sv.gnu.org:/srv/git/mailutils into locus
-rw-r--r--mh/mh_whatnow.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mh/mh_whatnow.c b/mh/mh_whatnow.c
index 999116f2f..71b6b221c 100644
--- a/mh/mh_whatnow.c
+++ b/mh/mh_whatnow.c
@@ -420,10 +420,12 @@ edit (struct mh_whatnow_env *wh, int argc, char **argv, int *whs)
{
struct mu_wordsplit ws;
extern char **environ;
+ ws.ws_env = (char const **)environ;
if (mu_wordsplit (ed, &ws,
MU_WRDSF_QUOTE
| MU_WRDSF_SQUEEZE_DELIMS
- | MU_WRDSF_ENV))
+ | MU_WRDSF_ENV
+ | MU_WRDSF_NOCMD))
{
mu_error (_("cannot split line `%s': %s"), ed,
mu_wordsplit_strerror (&ws));

Return to:

Send suggestions and report system problems to the System administrator.