https://bugzilla.novell.com/show_bug.cgi?id=338559

           Summary: System.IO.Ports.SerialPort.ReadLine() does not use the
                    right NewLine value
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          Found By: ---


Description of Problem:
The ReadLine () method of the System.IO.Ports.SerialPort class does not use the
value of the NewLine property to detect the end of a line.  
Currently it compares against the ‘\n’ character instead of the new_line
variable.  

Also the MS behavior is that a sequence of characters can be used to define the
end of a line.

Steps to reproduce the problem:
1. Create a SerialPort object.
2. set the NewLine property to “XY”
3.  open the port and call ReadLine ()
4. Send “fooXY” to the serial port from another machine.

Actual Results:
No line will be read as it is waiting for a \n to finish the line.

Expected Results:
The line “foo” should be read.

How often does this happen? 
Always.

Additional Information:


-- 
Configure bugmail: https://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