Author: marek
Date: 2005-09-28 06:30:17 -0400 (Wed, 28 Sep 2005)
New Revision: 50936
Modified:
trunk/mcs/mcs/ChangeLog
trunk/mcs/mcs/driver.cs
Log:
2005-09-28 Marek Safar <[EMAIL PROTECTED]>
Fix #76255.
* driver.cs: Fix compilation files with full root path.
Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog 2005-09-28 09:34:32 UTC (rev 50935)
+++ trunk/mcs/mcs/ChangeLog 2005-09-28 10:30:17 UTC (rev 50936)
@@ -1,3 +1,8 @@
+2005-09-28 Marek Safar <[EMAIL PROTECTED]>
+
+ Fix #76255.
+ * driver.cs: Fix compilation files with full root path.
+
2005-09-25 Miguel de Icaza <[EMAIL PROTECTED]>
* report.cs (SymbolRelatedToPreviousError): Format the output so
Modified: trunk/mcs/mcs/driver.cs
===================================================================
--- trunk/mcs/mcs/driver.cs 2005-09-28 09:34:32 UTC (rev 50935)
+++ trunk/mcs/mcs/driver.cs 2005-09-28 10:30:17 UTC (rev 50936)
@@ -1436,7 +1436,8 @@
continue;
return false;
} else {
- if (arg [0] == '/'){
+ // Need to skip `/home/test.cs'
however /test.cs is considered as error
+ if (arg [0] == '/' &&
(arg.Length < 2 || arg.IndexOf ('/', 2) == -1)){
if (CSCParseOption
(arg, ref args, ref i))
continue;
return false;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches