2009-07-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Fri, 10 Jul 2009 20:54:29 +0000 (20:54 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Fri, 10 Jul 2009 20:54:29 +0000 (20:54 -0000)
* ProcessStartInfo.cs: HaveEnvVars is enabled by just using the
EnvironmentVariables property. Bug #520650 fixed.

svn path=/trunk/mcs/; revision=137730

mcs/class/System/System.Diagnostics/ChangeLog
mcs/class/System/System.Diagnostics/ProcessStartInfo.cs

index c96354eabd23347eec0a4a1f24d1f2030c6a0e85..ec1b366bb92fb15985f82db1bde837eccc5e633a 100644 (file)
@@ -1,3 +1,8 @@
+2009-07-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * ProcessStartInfo.cs: HaveEnvVars is enabled by just using the
+       EnvironmentVariables property. Bug #520650 fixed.
+
 2009-05-12  Jonathan Pryor  <jpryor@novell.com>
 
        * DiagnosticsConfigurationHandler.cs: Use the new
index f47c402696b9b40514908ef281da7260f9674a6a..1d7e4fe63a6024ee7c1a2f0758190bbcff0cb9cd 100644 (file)
@@ -131,7 +131,7 @@ namespace System.Diagnostics
                }
                
                internal bool HaveEnvVars {
-                       get { return (envVars != null && envVars.Count > 0); }
+                       get { return (envVars != null); }
                }
                
                [DefaultValue (false)]