[Mono-bugs] [Bug 81967][Nor] New - System.IO.Ports.SerialPort does not issue TimeoutExceptions's on Write()
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Jun 28 12:12:35 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by skolima at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=81967
--- shadow/81967 2007-06-28 12:12:35.000000000 -0400
+++ shadow/81967.tmp.20336 2007-06-28 12:12:35.000000000 -0400
@@ -0,0 +1,25 @@
+Bug#: 81967
+Product: Mono: Class Libraries
+Version: 1.2
+OS: other
+OS Details: Linux, all versions
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: skolima at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Summary: System.IO.Ports.SerialPort does not issue TimeoutExceptions's on Write()
+
+System.IO.Ports.SerialPort on Linux delegates writes to SerialPortStream.
+The Read() implementation has been fixed some time ago to throw
+TimeoutException when the specified time has elapse. The call to Write(),
+however, does not check the return value of write_serial - because the
+write_serial does not return any status indication!
+
+write_serial() in mono/support/serial.c needs to get fixed to report the
+result of poll() similarily to read_serial().
More information about the mono-bugs
mailing list