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

David Edmundson david at davidedmundson.co.uk
Wed Feb 18 07:46:38 UTC 2015


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


bump?

- David Edmundson


On Feb. 12, 2015, 9:34 p.m., David Edmundson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122549/
> -----------------------------------------------------------
> 
> (Updated Feb. 12, 2015, 9:34 p.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/20150218/830e96ca/attachment.html>


More information about the Kde-frameworks-devel mailing list