2005-10-19 Miguel de Icaza <miguel@novell.com>
authorMiguel de Icaza <miguel@gnome.org>
Wed, 19 Oct 2005 20:01:01 +0000 (20:01 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Wed, 19 Oct 2005 20:01:01 +0000 (20:01 -0000)
* CSharpCodeCompiler.cs: Quote the directory, to fix #76469

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

mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs
mcs/class/System/Microsoft.CSharp/ChangeLog

index 0339ef48d400f1ff14ccf80cd64371d4296a025d..986e2bd47301df983db04f72403409b01d8fd6ec 100644 (file)
@@ -152,9 +152,8 @@ namespace Mono.CSharp
                        // FIXME: these lines had better be platform independent.
                        if (Path.DirectorySeparatorChar == '\\') {
                                mcs.StartInfo.FileName = windowsMonoPath;
-                               mcs.StartInfo.Arguments = windowsMcsPath + ' ' + BuildArgs (options, fileNames);
-                       }
-                       else {
+                               mcs.StartInfo.Arguments = "\"" + windowsMcsPath + "\" " + BuildArgs (options, fileNames);
+                       } else {
 #if NET_2_0
                                // FIXME: This is a temporary hack to make code genaration work in 2.0
                                mcs.StartInfo.FileName="gmcs";
index 578ad237bcfa81dd2ebbc1c88c7c36f4f795a146..4712cb5b5f00988468024f4baca5d9bea84a0e75 100644 (file)
@@ -1,3 +1,7 @@
+2005-10-19  Miguel de Icaza  <miguel@novell.com>
+
+       * CSharpCodeCompiler.cs: Quote the directory, to fix #76469
+
 2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>
 
        * CSharpCodeProvider.cs: Added a LinkDemand and an InheritanceDemand