Module: wine Branch: master Commit: 1202c14e6efbf53ffd90ab7c6797e063b795451b URL: http://source.winehq.org/git/wine.git/?a=commit;h=1202c14e6efbf53ffd90ab7c67...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Tue Aug 27 17:38:23 2013 +0900
ntdll: Ignore ioctl(TIOCGICOUNT) failures.
Most USB-serial Linux drivers don't support it.
---
dlls/ntdll/serial.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/serial.c b/dlls/ntdll/serial.c index f4ab212..91e7230 100644 --- a/dlls/ntdll/serial.c +++ b/dlls/ntdll/serial.c @@ -820,12 +820,11 @@ static NTSTATUS get_irq_info(int fd, serial_irq_info *irq_info) { TRACE("TIOCGICOUNT err %s\n", strerror(errno)); memset(irq_info,0, sizeof(serial_irq_info)); - return FILE_GetNtStatus(); } #else memset(irq_info,0, sizeof(serial_irq_info)); - return STATUS_NOT_IMPLEMENTED; #endif + irq_info->temt = 0; /* Generate a single TX_TXEMPTY event when the TX Buffer turns empty*/ #ifdef TIOCSERGETLSR /* prefer to log the state TIOCSERGETLSR */