[Mono-bugs] [Bug 70480][Wis] New - Mono.GetOptions (and mbas) throws exception with single dash parameter

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 12 Dec 2004 01:40:05 -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 d.holton@vanderbilt.edu.

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

--- shadow/70480	2004-12-12 01:40:05.000000000 -0500
+++ shadow/70480.tmp.22272	2004-12-12 01:40:05.000000000 -0500
@@ -0,0 +1,35 @@
+Bug#: 70480
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Mono.POSIX
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: d.holton@vanderbilt.edu               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono.GetOptions (and mbas) throws exception with single dash parameter
+
+Description of Problem:
+
+If you pass a single dash as one of the parameters to your app,
+Mono.GetOptions will throw an indexoutofrange exception at
+OptionList->NormalizeArgs.
+
+Steps to reproduce the problem:
+
+Try it with mbas
+
+"mbas - test.vb"
+
+It would be nice if getoptions could handle a single dash argument to use
+for specifying stdin input, for example.
+
+Also, I noticed Mono.GetOptions.dll can't be used with .NET because of the
+strong naming.