* Csc.cs: Quote -define: arguments.
authorAnkit Jain <radical@corewars.org>
Sat, 10 Jul 2010 10:03:36 +0000 (10:03 -0000)
committerAnkit Jain <radical@corewars.org>
Sat, 10 Jul 2010 10:03:36 +0000 (10:03 -0000)
svn path=/trunk/mcs/; revision=160198

mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/ChangeLog
mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/Csc.cs

index 12a3248aa0057125e0b256799226cb2efbe2940e..9824ea506a99f0366f26530da95de3c460bcad45 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-10  Ankit Jain  <jankit@novell.com>
+
+       * Csc.cs: Quote -define: arguments.
+
 2010-06-09  Ankit Jain  <jankit@novell.com>
 
        * ToolTask.cs: Don't check for tool's existence, as we might
index 983996632763a21bb422a1f8a0dc4c97766ba9e8..18f3096f611e106483e5bcf65778325f20eed44c 100644 (file)
@@ -65,7 +65,7 @@ namespace Microsoft.Build.Tasks {
                                string [] defines = DefineConstants.Split (new char [] {';', ' '},
                                                StringSplitOptions.RemoveEmptyEntries);
                                if (defines.Length > 0)
-                                       commandLine.AppendSwitchUnquotedIfNotNull ("/define:",
+                                       commandLine.AppendSwitchIfNotNull ("/define:",
                                                        String.Join (";", defines));
                        }