mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Applied patch #6677
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27080 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4e37cbbca4
commit
c4a2f62ad0
35 changed files with 142 additions and 88 deletions
|
@ -1004,7 +1004,7 @@ static DWORD WINAPI _threadFunction(LPVOID t)
|
|||
NSConcreteWindowsTask *task;
|
||||
|
||||
[tasksLock lock];
|
||||
task = (NSConcreteWindowsTask*)NSMapGet(activeTasks, (void*)taskId);
|
||||
task = (NSConcreteWindowsTask*)NSMapGet(activeTasks, (void*)(intptr_t) taskId);
|
||||
[tasksLock unlock];
|
||||
if (task == nil)
|
||||
{
|
||||
|
@ -1216,7 +1216,7 @@ quotedFromString(NSString *aString)
|
|||
ASSIGN(_launchPath, lpath); // Actual path used.
|
||||
|
||||
[tasksLock lock];
|
||||
NSMapInsert(activeTasks, (void*)_taskId, (void*)self);
|
||||
NSMapInsert(activeTasks, (void*)(intptr_t) _taskId, (void*)self);
|
||||
[tasksLock unlock];
|
||||
/*
|
||||
* Create thread to watch for termination of process.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue