Review Request 122549: Avoid code path that leaves local config files locked

Bhushan Shah bhush94 at gmail.com
Fri Feb 13 05:35:59 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122549/#review75962
-----------------------------------------------------------


related bug : https://bugs.kde.org/show_bug.cgi?id=344032

- Bhushan Shah


On Feb. 13, 2015, 3:04 a.m., David Edmundson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122549/
> -----------------------------------------------------------
> 
> (Updated Feb. 13, 2015, 3:04 a.m.)
> 
> 
> Review request for KDE Frameworks and Matthew Dawson.
> 
> 
> Repository: kconfig
> 
> 
> Description
> -------
> 
> The local config file gets locked on line 415, if we return early we
> need to unlock it otherwise we keep a stray .lock file on the config.
> 
> 
> ----
> 
> We've been getting a lot of lockups in Plasma with stray .lock files so I code reviewed the relevant bit of code to look for any problems. I doubt this is the cause but it seems wrong anyway.
> 
> 
> Diffs
> -----
> 
>   src/core/kconfig.cpp 782e971 
> 
> Diff: https://git.reviewboard.kde.org/r/122549/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> David Edmundson
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150213/81b37ed5/attachment.html>


More information about the Kde-frameworks-devel mailing list