You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Added patch to revert changes to address_space_start in virtual_init.
Breaks loading of all DOS executables.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
From 86b46494b8aa3be24829c67bece699479e6df905 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Sun, 8 Oct 2017 11:14:26 +0200
|
||||
Subject: Revert "ntdll: Support loading binaries that start inside the DOS
|
||||
area."
|
||||
|
||||
This reverts commit a27f187503f55de4b0c703bdb2d24dd07cd63cc1.
|
||||
---
|
||||
dlls/ntdll/virtual.c | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c
|
||||
index 7bb4eb4787a..f33579840a2 100644
|
||||
--- a/dlls/ntdll/virtual.c
|
||||
+++ b/dlls/ntdll/virtual.c
|
||||
@@ -1596,8 +1596,6 @@ void virtual_init(void)
|
||||
{
|
||||
preload_reserve_start = (void *)start;
|
||||
preload_reserve_end = (void *)end;
|
||||
- /* some apps start inside the DOS area */
|
||||
- address_space_start = min( address_space_start, preload_reserve_start );
|
||||
}
|
||||
}
|
||||
|
||||
--
|
||||
2.14.1
|
||||
|
||||
Reference in New Issue
Block a user