[Wine-devel] ntdll: Hack for FTDI USB Serial Device converter (eterbug #2198)

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Ср Авг 6 14:51:32 MSD 2008


----------- следующая часть -----------
From 58057eed70454182b45dcc89dab1a1c90ec19811 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Wed, 6 Aug 2008 14:46:43 +0400
Subject: [PATCH] ntdll: Hack for FTDI USB Serial Device converter

---
 dlls/ntdll/serial.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/serial.c b/dlls/ntdll/serial.c
index 2659106..83f4a81 100644
--- a/dlls/ntdll/serial.c
+++ b/dlls/ntdll/serial.c
@@ -884,7 +884,9 @@ static NTSTATUS get_irq_info(int fd, serial_irq_info *irq_info)
         return STATUS_SUCCESS;
     }
     TRACE("TIOCGICOUNT err %s\n", strerror(errno));
-    status = FILE_GetNtStatus();
+    FILE_GetNtStatus();
+    /* HACK for FTDI USB Serial Device converter */
+    status = STATUS_SUCCESS;
 #endif
     memset(irq_info,0, sizeof(serial_irq_info));
     return status;
-- 
1.5.4.5.GIT



Подробная информация о списке рассылки Wine-devel