From 174fd8ca696a2e3a1a23dc7cb1cc2776c809eb26 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Fri, 3 Apr 2015 18:53:28 +0200 Subject: [PATCH] server-JobObjects: Fix variable name (was renamed upstream). --- ...02-server-Implement-JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/server-JobObjects/0002-server-Implement-JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE.patch b/patches/server-JobObjects/0002-server-Implement-JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE.patch index 4ea24483..c74716fe 100644 --- a/patches/server-JobObjects/0002-server-Implement-JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE.patch +++ b/patches/server-JobObjects/0002-server-Implement-JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE.patch @@ -53,7 +53,7 @@ index 10193ef..89c029e 100644 + /* If this is the last handle and JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE is set, + * then terminate all associcated processes. We can't use the refcount because + * processes have a reference to the job object. */ -+ if (obj->handlecount == 1 && (job->limit_flags & JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE)) ++ if (obj->handle_count == 1 && (job->limit_flags & JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE)) + terminate_job( job, 0 ); + + return 1;