Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2005-10-20 00:04:10 +0400
committerMiguel de Icaza <miguel@gnome.org>2005-10-20 00:04:10 +0400
commit4f71550049b0d43f7ae41359e6f38ffa29e1f3b3 (patch)
treeff0c2bb27420d2f7527edc03f5a8d72e2d748e2e
parentc717485d2c1be1b70ca1d0ac20044920b989e418 (diff)
2005-10-19 Miguel de Icaza <miguel@novell.com>mono-1-1-9
* CSharpCodeCompiler.cs: Quote the directory, to fix #76469 svn path=/branches/mono-1-1-9/mcs/; revision=51941
-rw-r--r--mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs5
-rw-r--r--mcs/class/System/Microsoft.CSharp/ChangeLog4
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