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
11e81141
Commit
11e81141
authored
Jan 15, 2012
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Jan 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Always build preloading code.
parent
9cf7f954
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
config.c
libs/wine/config.c
+5
-2
No files found.
libs/wine/config.c
View file @
11e81141
...
...
@@ -456,7 +456,6 @@ const char *wine_get_build_id(void)
/* exec a binary using the preloader if requested; helper for wine_exec_wine_binary */
static
void
preloader_exec
(
char
**
argv
,
int
use_preloader
)
{
#ifdef linux
if
(
use_preloader
)
{
static
const
char
preloader
[]
=
"wine-preloader"
;
...
...
@@ -483,7 +482,6 @@ static void preloader_exec( char **argv, int use_preloader )
free
(
new_argv
);
free
(
full_name
);
}
#endif
execv
(
argv
[
0
],
argv
);
}
...
...
@@ -494,7 +492,12 @@ void wine_exec_wine_binary( const char *name, char **argv, const char *env_var )
int
use_preloader
;
if
(
!
name
)
name
=
argv0_name
;
/* no name means default loader */
#ifdef linux
use_preloader
=
!
strendswith
(
name
,
"wineserver"
);
#else
use_preloader
=
0
;
#endif
if
((
ptr
=
strrchr
(
name
,
'/'
)))
{
...
...
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