Oops, exec_team() should rename the team as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10062 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1067,7 +1067,11 @@ exec_team(int32 argCount, char **args, int32 envCount, char **env)
|
||||
remove_images(team);
|
||||
vfs_exec_io_context(team->io_context);
|
||||
|
||||
// cut the path from the main thread name
|
||||
// rename the team
|
||||
|
||||
strlcpy(team->name, args[0], B_OS_NAME_LENGTH);
|
||||
|
||||
// cut the path from the team name and rename the main thread, too
|
||||
threadName = strrchr(args[0], '/');
|
||||
if (threadName != NULL)
|
||||
threadName++;
|
||||
|
||||
Reference in New Issue
Block a user