[Wine-patches] [eter-2.0.0 eterhack] ntdll: Restore a hack for eterbugs #7885 and #8018.

Alexander Morozov amorozov на etersoft.ru
Вт Май 22 17:51:16 MSK 2012


---
 dlls/ntdll/actctx.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/ntdll/actctx.c b/dlls/ntdll/actctx.c
index 6371abe..0480d96 100644
--- a/dlls/ntdll/actctx.c
+++ b/dlls/ntdll/actctx.c
@@ -1994,8 +1994,8 @@ static NTSTATUS lookup_assembly(struct actctx_loader* acl,
     TRACE( "looking for name=%s version=%s arch=%s\n",
            debugstr_w(ai->name), debugstr_version(&ai->version), debugstr_w(ai->arch) );
 
-    /* Etersoft hack. TODO: eterbug#? */
-    if (etercheck_process_name("sbis.exe") || etercheck_process_name("1cv8.exe"))
+    /* Etersoft hack, eterbugs #7885, #8018 */
+    if (!etercheck_process_name("sbis.exe") && !etercheck_process_name("1cv8.exe"))
         if ((status = lookup_winsxs(acl, ai)) != STATUS_NO_SUCH_FILE) return status;
 
     /* FIXME: add support for language specific lookup */
@@ -2056,7 +2056,7 @@ static NTSTATUS lookup_assembly(struct actctx_loader* acl,
     RtlFreeHeap( GetProcessHeap(), 0, directory );
     RtlFreeHeap( GetProcessHeap(), 0, buffer );
 
-    /* Etersoft hack. TODO: eterbug#? */
+    /* Etersoft hack, eterbugs #7885, #8018 */
     if ((etercheck_process_name("sbis.exe") || etercheck_process_name("1cv8.exe")) && status != STATUS_SUCCESS)
         status = lookup_winsxs(acl, ai);
 
-- 
1.7.9.7



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