[Wine-patches] winedevice: Temporary decision for eterbug #2726.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пт Окт 24 21:36:05 MSD 2008


----------- следующая часть -----------
From 91347ad7bda8655c6455126155ad6778bb13dd74 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Fri, 24 Oct 2008 21:33:46 +0400
Subject: [PATCH] winedevice: Temporary decision for eterbug #2726.

---
 programs/winedevice/device.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/programs/winedevice/device.c b/programs/winedevice/device.c
index 815baeb..54ae128 100644
--- a/programs/winedevice/device.c
+++ b/programs/winedevice/device.c
@@ -296,6 +296,7 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
             data_size_t reply_size = 0;
 
             while (!reply_size)
+            {
                 SERVER_START_REQ( get_add_device_request )
                 {
                     wine_server_add_data( req, drvname.Buffer, drvname.Length );
@@ -305,6 +306,8 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
                         reply_size = wine_server_reply_size( reply );
                 }
                 SERVER_END_REQ;
+                Sleep( 100 );
+            }
 
             pdev_obj = __wine_usbhub_get_pdo( pdo_info );
             if (pdev_obj)
-- 
1.5.6.5.GIT



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