mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 07:18:30 +00:00
Change stack address on Windows
I rebooted Windows 7 and noticed that KERNEL32.DLL got relocated. Microsoft needs to change and embrace the dream that was MULTICS. Until then we'll need a better way to work around their dominion.
This commit is contained in:
parent
b4dffa4726
commit
d8fffd2123
2 changed files with 11 additions and 11 deletions
|
@ -84,8 +84,7 @@ textwindows int ntspawn(
|
|||
mkntenvblock(block->envvars, envp) != -1) {
|
||||
if (CreateProcess(NULL, block->cmdline, opt_lpProcessAttributes,
|
||||
opt_lpThreadAttributes, bInheritHandles,
|
||||
dwCreationFlags | kNtCreateNewProcessGroup |
|
||||
kNtCreateUnicodeEnvironment,
|
||||
dwCreationFlags | kNtCreateUnicodeEnvironment,
|
||||
block->envvars, opt_lpCurrentDirectory, lpStartupInfo,
|
||||
opt_out_lpProcessInformation)) {
|
||||
rc = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue