launch_daemon: Don't get the token from the registrar.
* It doesn't work, and BMessenger also only uses the preferred token. * I haven't investigated why it doesn't work yet, though.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2015, Axel Dörfler, [email protected].
|
* Copyright 2015-2016, Axel Dörfler, [email protected].
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -686,7 +686,7 @@ Job::_Launch(const char* signature, entry_ref* ref, int argCount,
|
|||||||
{
|
{
|
||||||
thread_id mainThread = -1;
|
thread_id mainThread = -1;
|
||||||
status_t result = BRoster::Private().Launch(signature, ref, NULL, argCount,
|
status_t result = BRoster::Private().Launch(signature, ref, NULL, argCount,
|
||||||
args, environment, &fTeam, &mainThread, &fDefaultPort, &fToken, true);
|
args, environment, &fTeam, &mainThread, &fDefaultPort, NULL, true);
|
||||||
if (result == B_OK) {
|
if (result == B_OK) {
|
||||||
result = _CreateAndTransferPorts();
|
result = _CreateAndTransferPorts();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user