Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=80570

--- shadow/80570        2007-01-21 09:57:22.000000000 -0500
+++ shadow/80570.tmp.24246      2007-01-21 09:57:22.000000000 -0500
@@ -0,0 +1,50 @@
+Bug#: 80570
+Product: Mono: Tools
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: tools
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [PATCH] gacutil thinks absolute *nix paths for libraries are options
+
+>>gacutil /i /xxx/xxx/xxx/assembly.dll
+Option /xxx/xxx/assembly.dll takes 1 argument
+
+Patch on mcs/tools/gacutil:
+
+Index: driver.cs
+===================================================================
+--- driver.cs   (revision 71418)
++++ driver.cs   (working copy)
+@@ -574,7 +574,7 @@
+ 
+                private static bool IsSwitch (string arg)
+                {
+-                       return (arg [0] == '-' || arg [0] == '/');
++                       return (arg [0] == '-' || (arg [0] == '/' &&
+!arg.EndsWith(".dll") && arg.IndexOf('/', 1) < 0 ) );
+                }
+ 
+                private static Command GetCommand (string arg)
+Index: ChangeLog
+===================================================================
+--- ChangeLog   (revision 71418)
++++ ChangeLog   (working copy)
+@@ -1,3 +1,7 @@
++2007-01-21  Rafael Teixeira <[EMAIL PROTECTED]>
++
++       * driver.cs: accept absolute *nix paths for library names without
+getting them confused with options
++
+ 2006-07-24  Alp Toker  <[EMAIL PROTECTED]>
+ 
+        * driver.cs: Minor typo fixes in comments and informational output.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to