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
afb8d94e
Commit
afb8d94e
authored
Aug 28, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Ignore syscalls that point to an alias.
parent
b892d12c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
import.c
tools/winebuild/import.c
+1
-0
No files found.
tools/winebuild/import.c
View file @
afb8d94e
...
@@ -1402,6 +1402,7 @@ void output_syscalls( DLLSPEC *spec )
...
@@ -1402,6 +1402,7 @@ void output_syscalls( DLLSPEC *spec )
{
{
ORDDEF
*
odp
=
&
spec
->
entry_points
[
i
];
ORDDEF
*
odp
=
&
spec
->
entry_points
[
i
];
if
(
!
(
odp
->
flags
&
FLAG_SYSCALL
))
continue
;
if
(
!
(
odp
->
flags
&
FLAG_SYSCALL
))
continue
;
if
(
strcmp
(
odp
->
name
,
odp
->
link_name
))
continue
;
/* ignore syscall aliases */
if
(
!
syscalls
)
syscalls
=
xmalloc
(
(
spec
->
nb_entry_points
-
i
)
*
sizeof
(
*
syscalls
)
);
if
(
!
syscalls
)
syscalls
=
xmalloc
(
(
spec
->
nb_entry_points
-
i
)
*
sizeof
(
*
syscalls
)
);
syscalls
[
count
++
]
=
odp
;
syscalls
[
count
++
]
=
odp
;
}
}
...
...
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