Commit e4c393f9 e4c393f9b98164f5a9c1f5076181227c52565bfc by Sergey Poznyakoff

Merge branch 'locus' of git.sv.gnu.org:/srv/git/mailutils into locus

2 parents 60db45be 08d8bd1b
...@@ -420,10 +420,12 @@ edit (struct mh_whatnow_env *wh, int argc, char **argv, int *whs) ...@@ -420,10 +420,12 @@ edit (struct mh_whatnow_env *wh, int argc, char **argv, int *whs)
420 { 420 {
421 struct mu_wordsplit ws; 421 struct mu_wordsplit ws;
422 extern char **environ; 422 extern char **environ;
423 ws.ws_env = (char const **)environ;
423 if (mu_wordsplit (ed, &ws, 424 if (mu_wordsplit (ed, &ws,
424 MU_WRDSF_QUOTE 425 MU_WRDSF_QUOTE
425 | MU_WRDSF_SQUEEZE_DELIMS 426 | MU_WRDSF_SQUEEZE_DELIMS
426 | MU_WRDSF_ENV)) 427 | MU_WRDSF_ENV
428 | MU_WRDSF_NOCMD))
427 { 429 {
428 mu_error (_("cannot split line `%s': %s"), ed, 430 mu_error (_("cannot split line `%s': %s"), ed,
429 mu_wordsplit_strerror (&ws)); 431 mu_wordsplit_strerror (&ws));
......