Browse files

2005-10-19 Miguel de Icaza <miguel@novell.com>

       * CSharpCodeCompiler.cs: Quote the directory, to fix #76469

svn path=/branches/mono-1-1-9/mcs/; revision=51941
  • Loading branch information...
1 parent c717485 commit 4f71550049b0d43f7ae41359e6f38ffa29e1f3b3 @migueldeicaza migueldeicaza committed Oct 19, 2005
View
5 mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs
@@ -152,9 +152,8 @@ private CompilerResults CompileFromFileBatch (CompilerParameters options, string
// 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";
View
4 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

0 comments on commit 4f71550

Please sign in to comment.