* fhandler.h (fhandler_serial::fhandler_serial): Change to only accept unit
argument. * fhandler_serial.cc (fhandler_serial::fhandler_serial): Ditto. (fhandler_serial::open): Avoid else when previous clause is a return(). * path.cc (get_devn): Alias /dev/ttyS0 -> /dev/com1, etc. (get_device_number): Reallow standalone "com1" as a valid name for /dev/com1.
This commit is contained in:
@@ -35,8 +35,8 @@ static DWORD WINAPI process_input (void *); // Input queue thread
|
||||
static DWORD WINAPI process_output (void *); // Output queue thread
|
||||
static DWORD WINAPI process_ioctl (void *); // Ioctl requests thread
|
||||
|
||||
fhandler_tty_master::fhandler_tty_master (int unit) :
|
||||
fhandler_pty_master (FH_TTYM, unit), console (NULL), hThread (NULL)
|
||||
fhandler_tty_master::fhandler_tty_master (int unit)
|
||||
: fhandler_pty_master (FH_TTYM, unit), console (NULL), hThread (NULL)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user