path: root/qmake
diff options
authorKevin Ottens <>2013-10-09 13:12:11 +0200
committerThe Qt Project <>2013-10-11 18:47:27 +0200
commitd8d6880682c8d3ad52a2b5e5670560dca399d854 (patch)
tree93fb3ac61a4419b8deebcf3335d3633f205a7029 /qmake
parent059857d4d5dc5862d0135c839e7dabaa7331e4b5 (diff)
Reduce risks of lock file corruption
Trying to do as few operations as possible once the file got opened. That includes generating the data which will go in the file. Indeed if we crashed at that point the lock file is already emptied. Could happen because of the qAppName call. It's then safer to prepare the data upfront, and just open/write/close if possible. Change-Id: Iad32fa822c6a5958ae89d84a2fe02ed5366ea278 Reviewed-by: Jędrzej Nowacki <> Reviewed-by: Frederik Gladhorn <>
Diffstat (limited to 'qmake')
0 files changed, 0 insertions, 0 deletions