Cygwin: serial: select: fix previous revamp patch

- We need a verify function.
- The event object referenced in WaitCommEvent must not be a local var,
  move it into fhandler_serial.
This commit is contained in:
Åke Rehnman
2020-03-20 10:37:17 +01:00
committed by Corinna Vinschen
parent 2929599590
commit e4f9fc92ac
2 changed files with 9 additions and 4 deletions

View File

@@ -1685,6 +1685,7 @@ class fhandler_serial: public fhandler_base
pid_t pgrp_;
int rts; /* for Windows 9x purposes only */
int dtr; /* for Windows 9x purposes only */
DWORD event; /* for select */
public:
OVERLAPPED io_status;