Bugfix
* mh/mh_whatnow.c (edit): Initialize ws.ws_env
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment