Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2007-08-12 20:18:32 +0400
committerMiguel de Icaza <miguel@gnome.org>2007-08-12 20:18:32 +0400
commitc8088c1d5eec66ad73665068a4dff5a390488c1f (patch)
treedaead31ef1ca2833a6ecce59d4d52bb8046430c0 /mcs/class/System/System.IO.Ports/SerialPort.cs
parentc1618ae78e6db3dff3bb11153bd8e3ab1955fa8b (diff)
Second part of fix for bug #81967
2007-08-12 Lukasz Byczynski <lukaszb@forcom.com.pl> * SerialPortStream.cs: added timeout handling on write * WinSerialStream.cs: fixed setting handshake flags svn path=/trunk/mcs/; revision=83922
Diffstat (limited to 'mcs/class/System/System.IO.Ports/SerialPort.cs')
-rw-r--r--mcs/class/System/System.IO.Ports/SerialPort.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/System/System.IO.Ports/SerialPort.cs b/mcs/class/System/System.IO.Ports/SerialPort.cs
index f25ec7f0d68..b3e7244e748 100644
--- a/mcs/class/System/System.IO.Ports/SerialPort.cs
+++ b/mcs/class/System/System.IO.Ports/SerialPort.cs
@@ -542,8 +542,8 @@ namespace System.IO.Ports
#if !TARGET_JVM
if (IsWindows) // Use windows kernel32 backend
- stream = new WinSerialStream (port_name, baud_rate, data_bits, parity, stop_bits,
- handshake, read_timeout, write_timeout, readBufferSize, writeBufferSize);
+ stream = new WinSerialStream (port_name, baud_rate, data_bits, parity, stop_bits, dtr_enable,
+ rts_enable, handshake, read_timeout, write_timeout, readBufferSize, writeBufferSize);
else // Use standard unix backend
#endif
stream = new SerialPortStream (port_name, baud_rate, data_bits, parity, stop_bits, dtr_enable,