Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
26952d7f
Commit
26952d7f
authored
Dec 07, 1998
by
Andreas Mohr
Committed by
Alexandre Julliard
Dec 07, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NE_MODULE.stack_size was set to a ridiculously small value of 5.
Windows sets 0x1400 in such cases for programs.
parent
1fea6b96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
module.c
loader/ne/module.c
+4
-0
No files found.
loader/ne/module.c
View file @
26952d7f
...
...
@@ -480,6 +480,10 @@ static HMODULE16 NE_LoadExeHeader( HFILE16 hFile, OFSTRUCT *ofs )
pModule
=
(
NE_MODULE
*
)
GlobalLock16
(
hModule
);
memcpy
(
pModule
,
&
ne_header
,
sizeof
(
ne_header
)
);
pModule
->
count
=
0
;
/* check *programs* for default minimal stack size */
if
(
(
!
(
pModule
->
flags
&
NE_FFLAGS_LIBMODULE
))
&&
(
pModule
->
stack_size
<
0x1400
)
)
pModule
->
stack_size
=
0x1400
;
pModule
->
module32
=
0
;
pModule
->
self
=
hModule
;
pModule
->
self_loading_sel
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment