]> granicus.if.org Git - mutt/commit
Pass envlist to filter children too. (closes #3922)
authorKevin McCarthy <kevin@8t8.us>
Sat, 18 Mar 2017 20:48:02 +0000 (13:48 -0700)
committerKevin McCarthy <kevin@8t8.us>
Sat, 18 Mar 2017 20:48:02 +0000 (13:48 -0700)
commita41b3a452729460b730661bac7c5a9c5afa38407
tree3a988c24a44fed118b69d3beb362854aa627b46b
parent52949004f33a5112e1154fefb3455bc7cd421c13
Pass envlist to filter children too.  (closes #3922)

The new setenv patch neglected to pass the envlist for filters too.

Unfortunately, the filter code was already set up to pass COLUMNS to
children, so it needed to be changed to add this to the envlist
instead.

Factor out mutt_envlist_set() from the parse_setenv() function, which
the filter code can then use to set COLUMNS after forking.
filter.c
init.c
protos.h
system.c