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)
{
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
......