[Mono-bugs] [Bug 72771][Nor] New - "Response file 'x' specified multiple times" when using "--"

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 20 Feb 2005 13:13:45 -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 max@duempel.org.

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

--- shadow/72771	2005-02-20 13:13:45.000000000 -0500
+++ shadow/72771.tmp.30818	2005-02-20 13:13:45.000000000 -0500
@@ -0,0 +1,28 @@
+Bug#: 72771
+Product: Mono: Compilers
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: max@duempel.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: "Response file 'x' specified multiple times" when using "--"
+
+When I run "mcs" (from Mono 1.1.4) with the arguments "-- @/tmp/foo", it
+tells me:
+
+"error CS1515: Response file `/tmp/foo' specified multiple times"
+
+This is because the arguments after "--" are reordered internally, and the
+'@/tmp/foo' is read a gain in the for(){} loop.
+
+This bug is new in Mono 1.1.4, 1.1.3 did ok because it did not reorder the
+arguments in Driver.AddArgs().