diff options
Diffstat (limited to 'meta-amd-bsp/recipes-devtools/codexl/codexl/0020-WebServer-fix-misleading-cleanup-under-RemoveHandler.patch')
-rw-r--r-- | meta-amd-bsp/recipes-devtools/codexl/codexl/0020-WebServer-fix-misleading-cleanup-under-RemoveHandler.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-devtools/codexl/codexl/0020-WebServer-fix-misleading-cleanup-under-RemoveHandler.patch b/meta-amd-bsp/recipes-devtools/codexl/codexl/0020-WebServer-fix-misleading-cleanup-under-RemoveHandler.patch new file mode 100644 index 00000000..615d8b17 --- /dev/null +++ b/meta-amd-bsp/recipes-devtools/codexl/codexl/0020-WebServer-fix-misleading-cleanup-under-RemoveHandler.patch @@ -0,0 +1,30 @@ +From c04253e27be667681644e653ea24677c2ad90880 Mon Sep 17 00:00:00 2001 +From: Awais Belal <awais_belal@mentor.com> +Date: Wed, 16 Nov 2016 15:11:33 +0500 +Subject: [PATCH] WebServer: fix misleading cleanup under RemoveHandlers + +The RemoveHandlers implementation had a terminating ';' +which would not allow the cleanup of the whole signal +map. + +Signed-off-by: Awais Belal <awais_belal@mentor.com> +--- + CodeXL/Components/Graphics/Server/WebServer/OSDependent.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CodeXL/Components/Graphics/Server/WebServer/OSDependent.cpp b/CodeXL/Components/Graphics/Server/WebServer/OSDependent.cpp +index ef92962..e344e7a 100755 +--- a/CodeXL/Components/Graphics/Server/WebServer/OSDependent.cpp ++++ b/CodeXL/Components/Graphics/Server/WebServer/OSDependent.cpp +@@ -1089,7 +1089,7 @@ public: + void RemoveHandlers() + { + std::map<int, SignalData>::iterator it; +- for (it = m_signalMap.begin(); it != m_signalMap.end(); ++it); ++ for (it = m_signalMap.begin(); it != m_signalMap.end(); ++it) + { + sigaction(it->first, &(it->second.old_action), nullptr); + } +-- +1.9.1 + |