[Mono-bugs] [Bug 73405][Wis] New - gacutil can't handle absolute paths due to buggy option processing

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 6 Mar 2005 17:32:50 -0500 (EST)


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 peter@newton.cx.

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

--- shadow/73405	2005-03-06 17:32:50.000000000 -0500
+++ shadow/73405.tmp.11399	2005-03-06 17:32:50.000000000 -0500
@@ -0,0 +1,29 @@
+Bug#: 73405
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: peter@newton.cx               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: gacutil can't handle absolute paths due to buggy option processing
+
+If you try and give gacutil an absolute pathname on Linux, it interprets
+the leading slash in the filename as an option specifier and won't run:
+
+$ gacutil  /i /path/to/foo.dll /root /usr/lib
+Option /i takes 1 argument
+
+$ gacutil  -i /path/to/foo.dll -root /usr/lib
+Option -i takes 1 argument
+
+It looks like the Main function in driver.cs needs some special-casing for
+options taking parameters.