[Mono-bugs] [Bug 501645] the parsing on command line arguments is wrong in Mono AddOn 2.4

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu May 7 15:52:02 EDT 2009


User ajorgensen at novell.com added comment

Andrew Jorgensen <ajorgensen at novell.com> changed:

           What    |Removed                     |Added
             Status|NEEDINFO                    |REOPENED
                 CC|                            |ajorgensen at novell.com
      Info Provider|kuanil at novell.com           |

--- Comment #7 from Andrew Jorgensen <ajorgensen at novell.com>  2009-05-07 13:52:01 MDT ---
I've reproduced and found the cause of this bug.  The mono-addon package has a
wrapper script instead of the real binary mono.  It goes like this:

export LD_LIBRARY_PATH="/opt/novell/mono/lib64:$LD_LIBRARY_PATH"
exec /opt/novell/mono/bin/mono.bin $@

This is used to make sure the correct libgdiplus is loaded, etc.  It is
incorrect in one simple way: it's missing "s around the $@.  It should be
corrected like so:

export LD_LIBRARY_PATH="/opt/novell/mono/lib64:$LD_LIBRARY_PATH"
exec /opt/novell/mono/bin/mono.bin "$@"

With this change your example works correctly.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list