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

Bug 362551

Summary: An patch for environment variable pollution issues
Product: [Tools] PTP Reporter: rong li <ronglli>
Component: SCIAssignee: Greg Watson <g.watson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 6.0   
Hardware: All   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
An patch for environment variable pollution issues none

Description rong li CLA 2011-11-01 05:27:30 EDT
Build Identifier: 

In this patch, it includes the fix for an environment variable pollution issues.

In the embeded agent mode, the agent will package its environment variables "extern char **environ;" and send them to its children.
When the children received the environment variables, it parsed them and set the same value into its own env. It will bring issues.
So right now, in the parent(agent), it will only package the necessary environment variables and send them to its children. It should not pass all its env.

Reproducible: Always
Comment 1 rong li CLA 2011-11-01 05:30:02 EDT
Created attachment 206252 [details]
An patch for environment variable pollution issues
Comment 2 Greg Watson CLA 2012-05-25 13:52:59 EDT
Applied to master.