[Wine-patches] ntdll: Hack for remserial (eterbug #553).

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пн Мар 2 13:29:47 MSK 2009


----------- следующая часть -----------
From 5d9e7126bf7690762720dca3eea4cf1674690e95 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Mon, 2 Mar 2009 13:11:22 +0300
Subject: [PATCH] ntdll: Hack for remserial (eterbug #553).

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

diff --git a/dlls/ntdll/serial.c b/dlls/ntdll/serial.c
index 76c9289..ab2dcf1 100644
--- a/dlls/ntdll/serial.c
+++ b/dlls/ntdll/serial.c
@@ -319,7 +319,8 @@ static NTSTATUS get_modem_status(int fd, DWORD* lpModemStat)
         return STATUS_SUCCESS;
     }
     WARN("ioctl failed\n");
-    status = FILE_GetNtStatus();
+    /* HACK for remserial */
+    status = STATUS_SUCCESS;
 #endif
     return status;
 }
-- 
1.6.1.3.GIT



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