* SerialPort.cs: Try to detect serial devices in other Unix
systems.
svn path=/trunk/mcs/; revision=155961
* SerialPort.cs: Try to detect serial devices in other Unix
systems.
+ More tune ups for BSDs.
+
2010-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* SerialPort.cs: DiscardNull should *not* report any error if the port
if (dev.StartsWith("/dev/ttyS") || dev.StartsWith("/dev/ttyUSB"))
serial_ports.Add (dev);
} else {
- if (dev.StartsWith ("/dev/tty"))
+ if (dev != "/dev/tty" && dev.StartsWith ("/dev/tty") && !dev.StartsWith ("/dev/ttyC"))
serial_ports.Add (dev);
}
}