Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368886

Summary: Strtok is non-reentrant
Product: [Tools] TCF Reporter: Chris Wyse <chris.wyse>
Component: AgentAssignee: Project Inbox <tcf.agent-inbox>
Status: RESOLVED FIXED QA Contact: Eugene Tarassov <eugene>
Severity: normal    
Priority: P3 CC: cdtdoug, chris.wyse
Version: unspecified   
Target Milestone: 1.0.0   
Hardware: All   
OS: All   
Whiteboard:

Description Chris Wyse CLA 2012-01-17 16:14:32 EST
Build Identifier: 

The strtok function used in the agent is non-reentrant.  It should be replaced with a reentrant function.  As the agent is expanded it could cause problems for users (and did in our case).

Reproducible: Always

Steps to Reproduce:
1.No need to reproduce
2.
3.
Comment 1 Eugene Tarassov CLA 2012-01-17 19:32:46 EST
I have changed the code to work without usage of strtok().
Fixed. Thanks.