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
3ef22e56
Commit
3ef22e56
authored
Jun 24, 2008
by
Jon Griffiths
Committed by
Alexandre Julliard
Jun 26, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
c2man: Correct extension for non-dlls (based on a patch by Vijay Kamuju).
parent
d1f1346f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
c2man.pl
tools/c2man.pl
+5
-3
No files found.
tools/c2man.pl
View file @
3ef22e56
...
...
@@ -90,14 +90,15 @@ sub process_extra_comment($);
sub
process_spec_file
($)
{
my
$spec_name
=
shift
;
my
$dll_name
=
$spec_name
;
$dll_
name
=~
s/\..*//
;
# Strip the file extension
my
(
$dll_name
,
$dll_ext
)
=
split
(
/\./
,
$spec_name
)
;
$dll_
ext
=
"dll"
if
(
$dll_ext
eq
"spec"
);
my
$uc_dll_name
=
uc
$dll_name
;
my
$spec_details
=
{
NAME
=>
$spec_name
,
DLL_NAME
=>
$dll_name
,
DLL_EXT
=>
$dll_ext
,
NUM_EXPORTS
=>
0
,
NUM_STUBS
=>
0
,
NUM_FUNCS
=>
0
,
...
...
@@ -227,6 +228,7 @@ sub process_source_file($)
COMMENT_NAME
=>
""
,
ALT_NAME
=>
""
,
DLL_NAME
=>
""
,
DLL_EXT
=>
""
,
ORDINAL
=>
""
,
RETURNS
=>
""
,
PROTOTYPE
=>
[]
,
...
...
@@ -1095,7 +1097,7 @@ sub output_spec($)
my
$comment
=
{
FILE
=>
$spec_details
->
{
DLL_NAME
},
COMMENT_NAME
=>
$spec_details
->
{
DLL_NAME
}
.
".
dll"
,
COMMENT_NAME
=>
$spec_details
->
{
DLL_NAME
}
.
".
"
.
$spec_details
->
{
DLL_EXT
}
,
ALT_NAME
=>
$spec_details
->
{
DLL_NAME
},
DLL_NAME
=>
""
,
ORDINAL
=>
""
,
...
...
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