]> granicus.if.org Git - neomutt/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)
committerRichard Russon <rich@flatcap.org>
Tue, 21 Mar 2017 16:11:38 +0000 (16:11 +0000)
commitddc5744a0ab7209d684a67aa99d3351b3b10980a
treef11ca9bd6c660474e0690d67bfa39503ef28a9dd
parent46bafa918bc49b52c9ee29c308f70782f8cf8c5f
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