I think env-update should concate all LD_PRELOAD variables in env.d. Version 2.0.50-r6 treats LD_PRELOAD as a normal variable instead of a colon-separated variables.
Created attachment 30771 [details, diff] Patch against 2.0.50-r6
You're going to need to explain more here. LD_PRELOAD isn't a colon-separated variable, it's space-separated. See ld.so(8) What behavior are you trying to achieve? Re-assigning to portage team since env-update belongs to them.
yeah, like aron said, you're going to have to give a useful reason for why LD_PRELOAD should even bothered being parsed seeing as how it'll rarely get used by most people
Yes, my mistake. LD_PRELOAD is not colon-separated. And it's rarely used. But it is used somewhere (xvnkb, libtrash ...). Imagine the scenario that somesone sets two LD_PRELOAD in env.d and it doesn't work as expected.
env.d is mostly used by portage packages to install environment pieces so that the final environment can be put together something like LD_PRELOAD is used on a per-app basis and *never* on a system wide basis so, unless there is a real need for it (which has yet to be demonstrated) LD_PRELOAD should not be in a global env