Add process name to trace.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4160 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -341,6 +341,7 @@ int tf_task_execute(tf_task_t* task, const char* fileName)
|
||||
if (!*task->_scriptName)
|
||||
{
|
||||
strncpy(task->_scriptName, fileName, sizeof(task->_scriptName) - 1);
|
||||
tf_trace_set_process_name(task->_trace, fileName);
|
||||
}
|
||||
if (!task->_path)
|
||||
{
|
||||
|
Reference in New Issue
Block a user