Commit 491bec23 491bec23a77b19df8b9c0442696ce57e3fc5c604 by Sergey Poznyakoff

Bugfix

* mh/mh_whatnow.c (edit): Initialize ws.ws_env
1 parent 66da33c3
...@@ -420,6 +420,7 @@ edit (struct mh_whatnow_env *wh, int argc, char **argv, int *whs) ...@@ -420,6 +420,7 @@ 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
......