Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:rhabacker:branches:windows:mingw:win64
mingw64-kinit
0016-kinit_win.cpp-Do-not-add-empty-process-nam...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0016-kinit_win.cpp-Do-not-add-empty-process-names-to-inte.patch of Package mingw64-kinit
From 31ecb466f4f28c9e2d5699f87d673576837b4b9d Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Fri, 23 Jul 2021 10:53:38 +0200 Subject: [PATCH 16/18] kinit_win.cpp: Do not add empty process names to internal process list --- src/kdeinit/kinit_win.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kdeinit/kinit_win.cpp b/src/kdeinit/kinit_win.cpp index 4aa1765..8ba2416 100644 --- a/src/kdeinit/kinit_win.cpp +++ b/src/kdeinit/kinit_win.cpp @@ -345,7 +345,8 @@ void ProcessList::init() #else PSID sid = 0; #endif - m_processes << new ProcessListEntry(hProcess, name, pe32.th32ProcessID, sid); + if (!name.isEmpty()) + m_processes << new ProcessListEntry(hProcess, name, pe32.th32ProcessID, sid); } while (Process32Next(h, &pe32)); #ifndef _WIN32_WCE CloseHandle(h); -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor