https://bugzilla.novell.com/show_bug.cgi?id=325241#c1


Miguel de Icaza <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]
             Status|NEW                                             |NEEDINFO
      Info Provider|                                                |[EMAIL 
PROTECTED]




--- Comment #1 from Miguel de Icaza <[EMAIL PROTECTED]>  2007-11-03 11:57:25 
MST ---
-1 is a valid return from ReadByte according to MSDN, and the InvalidOperation
exception should be thrown if the port is not open.  That is what "CheckOpen"
does, so I do not believe that this is a bug.

Would you mind testing on Windows what happens on ReadLine when the same cable
gets disconnected?

I do not feel comfortable adding a special case for zero, I believe that the
right fix is for SerialStream to either throw an exception (as it does if
poll_serial fails to get data or if the timeout is reached). 


-- 
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