http://bugzilla.novell.com/show_bug.cgi?id=501645


           Summary: the parsing on command line arguments is wrong in Mono
                    AddOn 2.4
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x AddOn CD
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: System
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: Third Party Developer/Partner


When command line arguments are provided in single quotes while running an exe
(which was built using gmcs) on Mono AddOn2.4, then it gives incorrect value.
The test case is like this: 

using System;
using System.Text;
using System.Security.Cryptography;
class UTF8EncodingExample {
    public static void Main(string[] args) {

                Console.WriteLine ("count of argument is :"+args.Length);
                foreach(string cmd in args)
                {
                        Console.WriteLine ("real argument :"+cmd);
                }

        }
}

when built with gmcs and run under mono2.4 add-on envt : the output is like
this : 

Run Command : mono mytest.exe --iFolderDescription='iFolder System'

Result: count of argument is :2
real argument :--iFolderDescription=iFolder
real argument :System

Desired Result: the count of argument should be 1. and that will be full
argument. 

It is affecting iFolder Server installation to be done with mono 2.4 and we
request to provide a quick fix for this issue.

-- 
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to