[Mono-bugs] [Bug 80570][Wis] New - [PATCH] gacutil thinks absolute *nix paths for libraries are options
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Jan 21 09:57:22 EST 2007
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 rafaelteixeirabr at hotmail.com.
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: mono-bugs at ximian.com
+ReportedBy: rafaelteixeirabr at hotmail.com
+QAContact: mono-bugs at ximian.com
+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 <rafaelteixeirabr at hotmail.com>
++
++ * driver.cs: accept absolute *nix paths for library names without
+getting them confused with options
++
+ 2006-07-24 Alp Toker <alp at atoker.com>
+
+ * driver.cs: Minor typo fixes in comments and informational output.
More information about the mono-bugs
mailing list