activate: use global variable instead of passing char **envp around
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 10 Aug 2021 15:34:07 +0000 (17:34 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 11 Aug 2021 07:34:45 +0000 (09:34 +0200)
commit2f400671da769b996e9b7fd6d20b1cba74f84148
treea6d696b7937d991cc8af4aaee7d89cafe3820891
parent89bf86e0157316a44457fb955c6d3deeb02e9802
activate: use global variable instead of passing char **envp around

The effect should be the same, but the code is less verbose.
In particular, the variable was called envp in parts of the code,
but in other parts, we had a local envp variable, and envp was called
env.
src/activate/activate.c