D24750: Fix reading environment variables with newline
Fabian Vogt
noreply at phabricator.kde.org
Fri Oct 18 08:37:34 BST 2019
fvogt created this revision.
fvogt added reviewers: Plasma, apol.
Herald added a project: Plasma.
fvogt requested review of this revision.
REVISION SUMMARY
Use '\0' as separator as '\n' is likely to appear in values.
BUG: 413130
TEST PLAN
/etc/profile.d/mc.sh exported an mc() function,
which resulted in "syntax error: unexpected end of file" in the Plasma session.
Now the mc function is correctly set in the environment.
REPOSITORY
R120 Plasma Workspace
BRANCH
Plasma/5.17
REVISION DETAIL
https://phabricator.kde.org/D24750
AFFECTED FILES
CMakeLists.txt
startkde/plasma-sourceenv.sh
startkde/startplasma.cpp
To: fvogt, #plasma, apol
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191018/9328a58a/attachment.html>
More information about the Plasma-devel
mailing list