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
f3960b22
Commit
f3960b22
authored
Mar 30, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Hack to work around the Solaris dlopen() brain damage.
parent
c4ad5eeb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
loader.c
libs/wine/loader.c
+11
-0
No files found.
libs/wine/loader.c
View file @
f3960b22
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include <assert.h>
#include <assert.h>
#include <ctype.h>
#include <ctype.h>
#include <fcntl.h>
#include <fcntl.h>
#include <limits.h>
#include <stdarg.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
...
@@ -689,6 +690,16 @@ void *wine_dlopen( const char *filename, int flag, char *error, size_t errorsize
...
@@ -689,6 +690,16 @@ void *wine_dlopen( const char *filename, int flag, char *error, size_t errorsize
void
*
ret
;
void
*
ret
;
const
char
*
s
;
const
char
*
s
;
dlerror
();
dlerror
();
dlerror
();
dlerror
();
#ifdef __sun
if
(
strchr
(
filename
,
':'
))
{
char
path
[
PATH_MAX
];
/* Solaris' brain damaged dlopen() treats ':' as a path separator */
realpath
(
filename
,
path
);
ret
=
dlopen
(
path
,
flag
|
RTLD_FIRST
);
}
else
#endif
ret
=
dlopen
(
filename
,
flag
|
RTLD_FIRST
);
ret
=
dlopen
(
filename
,
flag
|
RTLD_FIRST
);
s
=
dlerror
();
s
=
dlerror
();
if
(
error
&&
errorsize
)
if
(
error
&&
errorsize
)
...
...
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