diff options
-rw-r--r-- | mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs | 5 | ||||
-rw-r--r-- | mcs/class/System/Microsoft.CSharp/ChangeLog | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs b/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs index 0339ef48d40..8e5f1748c7b 100644 --- a/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs +++ b/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs @@ -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"; diff --git a/mcs/class/System/Microsoft.CSharp/ChangeLog b/mcs/class/System/Microsoft.CSharp/ChangeLog index d96324fd958..77072fab6e8 100644 --- a/mcs/class/System/Microsoft.CSharp/ChangeLog +++ b/mcs/class/System/Microsoft.CSharp/ChangeLog @@ -1,3 +1,7 @@ +2005-10-19 Miguel de Icaza <miguel@novell.com> + + * CSharpCodeCompiler.cs: Quote the directory, to fix #76469 + 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com> * CSharpCodeCompiler.cs: patch from Maksim Vorobiev that prevents |