[Mono-dev] SerialPortStream patch

Leszek Ciesielski skolima at gmail.com
Fri Sep 18 04:14:39 EDT 2009


Hi,

while debugging my code I have noticed that SerialPort.Close() does
not check for error conditions on Linux. Attached is a small patch
fixing this. May I commit?

(if anyone wonders why there is no resuming the close on EINTR:
http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-09/3000.html )

Regards,

Leszek 'skolima' Ciesielski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcs.serial.diff
Type: application/octet-stream
Size: 1094 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090918/c04b3993/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mono.serial.diff
Type: application/octet-stream
Size: 705 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090918/c04b3993/attachment-0001.obj 


More information about the Mono-devel-list mailing list