Bugzilla – Bug 315968
[PATCH] Mono.GetOptions does not support quoted arguments in response file
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by gert.driesen@pandora.be 2004-09-07 17:27:43 MST ---- mbas does not supported quoted arguments in response files. To reproduce this issue : 1. create a source file named "test.vb" containing the following code fragment : Public Class Test Public Shared Sub Main() End Sub End Class 2. create a response file named "response" containing the following : "/target:exe" "/r:System.dll" "test.vb" 3. compile the source file using the response file : $ mbas @response I get the following errors when using mbas : -------- MonoBASIC: THIS IS STILL ALPHA AND UNSUPPORTED SOFTWARE, USE AT YOUR OWN RISK. -------- error BC2001: Source file '"/r:System.dll"' could not be found!!! error BC2001: Source file '"/target:exe"' could not be found!!! error BC2001: Source file '"test.vb"' could not be found!!! Compilation failed: 3 Error(s), 0 warnings This works fine using vbc, but also when I specify these arguments to mbas on the command line (instead of using a response file). ---- Additional Comments From rafaelteixeirabr@hotmail.com 2004-09-08 12:02:35 MST ---- The problem is really within Mono.GetOptions. I'll look at that. ---- Additional Comments From gert.driesen@pandora.be 2005-05-15 02:31:45 MST ---- I attached a patch (shamelessly copied from mcs) which fixed this issue. ---- Additional Comments From gert.driesen@pandora.be 2005-05-15 02:32:18 MST ---- Created an attachment (id=166744) Fix ---- Additional Comments From gert.driesen@pandora.be 2005-06-04 09:04:02 MST ---- Is it ok to commit this (trivial) patch ? ---- Additional Comments From rafaelteixeirabr@hotmail.com 2005-06-04 19:21:34 MST ---- Please do it for me, thanks ---- Additional Comments From gert.driesen@pandora.be 2005-06-05 06:02:22 MST ---- Committed in svn (revision 45433). Imported an attachment (id=166744) Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>Gentoo 2.6.8 R2</cf_op_sys_details>