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
ed3a2765
Commit
ed3a2765
authored
Jun 23, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Jun 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools: Preserve ordinal when updating specfiles.
parent
84d68639
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
make_specfiles
tools/make_specfiles
+2
-2
No files found.
tools/make_specfiles
View file @
ed3a2765
...
...
@@ -214,7 +214,7 @@ sub update_spec_file($)
{
my
$callconv
=
$parent
{
callconv
}
ne
"stub"
?
$parent
{
callconv
}
:
$parent
{
spec
}
=~
/msvc/
?
"cdecl"
:
"stdcall"
;
# hack
$_
=
sprintf
"
@
%s %s%s"
,
$callconv
,
$flags
,
$func
;
$_
=
sprintf
"
$descr{ordinal}
%s %s%s"
,
$callconv
,
$flags
,
$func
;
if
(
$parent
{
target
}
=~
/$group_head\./
)
# use the same forward as parent if possible
{
...
...
@@ -227,7 +227,7 @@ sub update_spec_file($)
}
else
{
$_
=
sprintf
"
@
stub %s%s"
,
$flags
,
$func
;
$_
=
sprintf
"
$descr{ordinal}
stub %s%s"
,
$flags
,
$func
;
}
$_
.=
$descr
{
comment
}
||
""
;
...
...
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