lock baseEnv in cache()
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>
Tue, 23 Jul 2013 15:57:44 +0000 (17:57 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 26 Aug 2013 21:56:34 +0000 (23:56 +0200)
commit4da64094c8dac54fc806f98fa60fcd91cf4d3df9
treee99d442fa3041f46c89a0a6c8f39962d5d3f3937
parent0aa9d5273547cda31462f25480a4a447804901dd
lock baseEnv in cache()

sync up; doesn't do anything in lupdate.

as we modify the environment, it must be properly locked.
this implies that initFrom() also needs to be called with a lock.

Change-Id: I48bae9af9adaa0518e5a9db0ba08ff057ae14f9f
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
(cherry picked from qtcreator/d022a2d19cecb00397c2a215fc4e3bf64b1e627b)
src/linguist/shared/qmakebuiltins.cpp
src/linguist/shared/qmakeevaluator.cpp