Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0fae9217
Commit
0fae9217
authored
Feb 07, 2008
by
Colin Finck
Committed by
Alexandre Julliard
Feb 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Support Windows paths in dup_basename and make_token.
parent
d03f5f22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
utils.c
tools/widl/utils.c
+3
-0
widl.c
tools/widl/widl.c
+3
-0
No files found.
tools/widl/utils.c
View file @
0fae9217
...
...
@@ -136,6 +136,9 @@ char *dup_basename(const char *name, const char *ext)
name
=
"widl.tab"
;
slash
=
strrchr
(
name
,
'/'
);
if
(
!
slash
)
slash
=
strrchr
(
name
,
'\\'
);
if
(
slash
)
name
=
slash
+
1
;
...
...
tools/widl/widl.c
View file @
0fae9217
...
...
@@ -166,6 +166,9 @@ static char *make_token(const char *name)
int
i
;
slash
=
strrchr
(
name
,
'/'
);
if
(
!
slash
)
slash
=
strrchr
(
name
,
'\\'
);
if
(
slash
)
name
=
slash
+
1
;
token
=
xstrdup
(
name
);
...
...
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