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
851d25d9
Commit
851d25d9
authored
Feb 17, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set default loadorder to native for dlls that contain an explicit
path.
parent
027cef8b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
6 deletions
+17
-6
loadorder.c
loader/loadorder.c
+17
-6
No files found.
loader/loadorder.c
View file @
851d25d9
...
...
@@ -103,6 +103,12 @@ static const enum loadorder_type default_loadorder[LOADORDER_NTYPES] =
LOADORDER_BI
,
LOADORDER_DLL
,
0
,
0
};
/* default for modules with an explicit path */
static
const
enum
loadorder_type
default_path_loadorder
[
LOADORDER_NTYPES
]
=
{
LOADORDER_DLL
,
LOADORDER_BI
,
0
,
0
};
static
struct
loadorder_list
cmdline_list
;
...
...
@@ -674,13 +680,18 @@ void MODULE_GetLoadOrder( enum loadorder_type loadorder[], const char *path, BOO
debugstr_loadorder
(
loadorder
),
debugstr_a
(
path
)
);
goto
done
;
}
}
/* and last the hard-coded default */
memcpy
(
loadorder
,
default_loadorder
,
sizeof
(
default_loadorder
)
);
TRACE
(
"got hardcoded default %s for %s
\n
"
,
debugstr_loadorder
(
loadorder
),
debugstr_a
(
path
)
);
/* and last the hard-coded default */
memcpy
(
loadorder
,
default_loadorder
,
sizeof
(
default_loadorder
)
);
TRACE
(
"got hardcoded default %s for %s
\n
"
,
debugstr_loadorder
(
loadorder
),
debugstr_a
(
path
)
);
}
else
/* module contains an explicit path */
{
memcpy
(
loadorder
,
default_path_loadorder
,
sizeof
(
default_path_loadorder
)
);
TRACE
(
"got hardcoded path default %s for %s
\n
"
,
debugstr_loadorder
(
loadorder
),
debugstr_a
(
path
)
);
}
done:
if
(
app_key
)
NtClose
(
app_key
);
...
...
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