[Mono-bugs] [Bug 333740] New: System.Environment.GetEnvironmentVariables doesn' t return all environment variables

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Oct 14 16:18:14 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=333740

           Summary: System.Environment.GetEnvironmentVariables doesn't
                    return all environment variables
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: i386
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: rlai at irismedia.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Description of Problem:
System.Environment.GetEnvironmentVariables doesn't 
return all environment variables

Steps to reproduce the problem:
Environment.SetEnvironmentVariable("TestName", "TestValue");
System.Collections.IDictionary props = Environment.GetEnvironmentVariables();
Console.Write("GetEnvironmentVariable[");
Console.Write(Environment.GetEnvironmentVariable("TestName"));
Console.WriteLine("][" + props["TestName"] + "]");


Actual Results:
GetEnvironmentVariable[TestValue][]

Expected Results:
GetEnvironmentVariable[TestValue][TestValue]


How often does this happen? 
Always


Additional Information:
works correctly on linux


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list