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
94d2312f
Commit
94d2312f
authored
Aug 28, 2011
by
Octavian Voicu
Committed by
Alexandre Julliard
Aug 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Don't parse colons as stream separators when splitting paths.
parent
899b2785
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
batch.c
programs/cmd/batch.c
+1
-3
No files found.
programs/cmd/batch.c
View file @
94d2312f
...
@@ -222,9 +222,7 @@ void WCMD_splitpath(const WCHAR* path, WCHAR* drv, WCHAR* dir, WCHAR* name, WCHA
...
@@ -222,9 +222,7 @@ void WCMD_splitpath(const WCHAR* path, WCHAR* drv, WCHAR* dir, WCHAR* name, WCHA
}
else
if
(
drv
)
}
else
if
(
drv
)
*
drv
=
'\0'
;
*
drv
=
'\0'
;
/* search for end of string or stream separator */
end
=
path
+
strlenW
(
path
);
for
(
end
=
path
;
*
end
&&
*
end
!=
':'
;
)
end
++
;
/* search for begin of file extension */
/* search for begin of file extension */
for
(
p
=
end
;
p
>
path
&&
*--
p
!=
'\\'
&&
*
p
!=
'/'
;
)
for
(
p
=
end
;
p
>
path
&&
*--
p
!=
'\\'
&&
*
p
!=
'/'
;
)
...
...
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