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
d5739561
Commit
d5739561
authored
Sep 17, 2015
by
Ken Thomases
Committed by
Alexandre Julliard
Sep 18, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Provide a default value for DYLD_FALLBACK_LIBRARY_PATH, which is closer…
dbghelp: Provide a default value for DYLD_FALLBACK_LIBRARY_PATH, which is closer to how dyld behaves.
parent
8d6b3494
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
macho_module.c
dlls/dbghelp/macho_module.c
+4
-2
No files found.
dlls/dbghelp/macho_module.c
View file @
d5739561
...
...
@@ -1571,8 +1571,10 @@ static BOOL macho_search_and_load_file(struct process* pcs, const WCHAR* filenam
/* Try DYLD_FALLBACK_LIBRARY_PATH, with just the filename (no directories). */
if
(
!
ret
)
{
ret
=
macho_load_file_from_path
(
pcs
,
p
,
load_addr
,
getenv
(
"DYLD_FALLBACK_LIBRARY_PATH"
),
macho_info
);
const
char
*
fallback
=
getenv
(
"DYLD_FALLBACK_LIBRARY_PATH"
);
if
(
!
fallback
)
fallback
=
"/usr/local/lib:/lib:/usr/lib"
;
ret
=
macho_load_file_from_path
(
pcs
,
p
,
load_addr
,
fallback
,
macho_info
);
}
if
(
!
ret
&&
!
strchrW
(
filename
,
'/'
))
ret
=
macho_load_file_from_dll_path
(
pcs
,
filename
,
load_addr
,
macho_info
);
...
...
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