Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6f66c1c7
Commit
6f66c1c7
authored
Aug 18, 2003
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Aug 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Windows ignores values of e_cparhdr and e_crlc of the MZ header.
parent
11e844db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
module.c
loader/module.c
+0
-4
No files found.
loader/module.c
View file @
6f66c1c7
...
@@ -200,10 +200,6 @@ enum binary_type MODULE_GetBinaryType( HANDLE hfile )
...
@@ -200,10 +200,6 @@ enum binary_type MODULE_GetBinaryType( HANDLE hfile )
* structure encompasses the "Offset to extended header"
* structure encompasses the "Offset to extended header"
* field.
* field.
*/
*/
if
((
header
.
mz
.
e_cparhdr
<<
4
)
<
sizeof
(
IMAGE_DOS_HEADER
))
return
BINARY_DOS
;
if
(
header
.
mz
.
e_crlc
&&
(
header
.
mz
.
e_lfarlc
<
sizeof
(
IMAGE_DOS_HEADER
)))
return
BINARY_DOS
;
if
(
header
.
mz
.
e_lfanew
<
sizeof
(
IMAGE_DOS_HEADER
))
if
(
header
.
mz
.
e_lfanew
<
sizeof
(
IMAGE_DOS_HEADER
))
return
BINARY_DOS
;
return
BINARY_DOS
;
if
(
SetFilePointer
(
hfile
,
header
.
mz
.
e_lfanew
,
NULL
,
SEEK_SET
)
==
-
1
)
if
(
SetFilePointer
(
hfile
,
header
.
mz
.
e_lfanew
,
NULL
,
SEEK_SET
)
==
-
1
)
...
...
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