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
8a6115f7
Commit
8a6115f7
authored
Jan 26, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Prefer the ntdll path over argv[0] on platforms without reliable exe information.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=54371
parent
b6f58142
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
loader.c
dlls/ntdll/unix/loader.c
+0
-2
No files found.
dlls/ntdll/unix/loader.c
View file @
8a6115f7
...
...
@@ -640,8 +640,6 @@ static void init_paths( char *argv[] )
bin_dir
=
realpath_dirname
(
path
);
free
(
path
);
}
#else
bin_dir
=
realpath_dirname
(
argv
[
0
]
);
#endif
if
(
!
bin_dir
)
bin_dir
=
build_path
(
dll_dir
,
DLL_TO_BINDIR
);
data_dir
=
build_path
(
bin_dir
,
BIN_TO_DATADIR
);
...
...
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