[Wine-patches] [eter-2.0.0 eterhack] ntdll: __wine_main_argv[0] does not always contain ".exe".
Alexander Morozov
amorozov на etersoft.ru
Вт Июн 19 17:44:10 MSK 2012
---
dlls/ntdll/actctx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/actctx.c b/dlls/ntdll/actctx.c
index 0480d96..fe2df38 100644
--- a/dlls/ntdll/actctx.c
+++ b/dlls/ntdll/actctx.c
@@ -1995,7 +1995,7 @@ static NTSTATUS lookup_assembly(struct actctx_loader* acl,
debugstr_w(ai->name), debugstr_version(&ai->version), debugstr_w(ai->arch) );
/* Etersoft hack, eterbugs #7885, #8018 */
- if (!etercheck_process_name("sbis.exe") && !etercheck_process_name("1cv8.exe"))
+ if (!etercheck_process_name("sbis*") && !etercheck_process_name("1cv8*"))
if ((status = lookup_winsxs(acl, ai)) != STATUS_NO_SUCH_FILE) return status;
/* FIXME: add support for language specific lookup */
@@ -2057,7 +2057,7 @@ static NTSTATUS lookup_assembly(struct actctx_loader* acl,
RtlFreeHeap( GetProcessHeap(), 0, buffer );
/* Etersoft hack, eterbugs #7885, #8018 */
- if ((etercheck_process_name("sbis.exe") || etercheck_process_name("1cv8.exe")) && status != STATUS_SUCCESS)
+ if ((etercheck_process_name("sbis*") || etercheck_process_name("1cv8*")) && status != STATUS_SUCCESS)
status = lookup_winsxs(acl, ai);
return status;
--
1.7.10.5
Подробная информация о списке рассылки Wine-patches