From 3e0774c0968dc38178cadb41558302c8a888b875 Mon Sep 17 00:00:00 2001 From: Jasmin Jessich Date: Thu, 25 May 2017 20:44:06 +0200 Subject: Fixed lock order in several files - It is still not finished, but most of the locks should be in the right order now. I am still waiting for a VDR patch to check the lock order dynamically. --- pages/channels_widget.ecpp | 3 +-- pages/epginfo.ecpp | 3 +++ pages/errors.vim | 3 +++ pages/ibox.ecpp | 1 + pages/recordings.ecpp | 8 ++++++-- pages/schedule.ecpp | 8 +++----- pages/searchresults.ecpp | 12 ++++++------ pages/timerconflicts.ecpp | 13 ++++++------- pages/timers.ecpp | 9 ++++----- 9 files changed, 33 insertions(+), 27 deletions(-) create mode 100644 pages/errors.vim (limited to 'pages') diff --git a/pages/channels_widget.ecpp b/pages/channels_widget.ecpp index 64dc3c9..f575f15 100644 --- a/pages/channels_widget.ecpp +++ b/pages/channels_widget.ecpp @@ -25,12 +25,11 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); <%cpp> #if VDRVERSNUM >= 20301 LOCK_CHANNELS_READ; - if (false) #else ReadLock channelsLock( Channels ); if ( !channelsLock ) -#endif throw HtmlError( tr("Couldn't aquire access to channels, please try again later.") ); +#endif