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
45905b27
Commit
45905b27
authored
Oct 14, 2009
by
Colin Fletcher
Committed by
Alexandre Julliard
Oct 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd.exe: Treat tabs as parameter delimiters.
parent
e95ffacd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
batch.c
programs/cmd/batch.c
+2
-1
No files found.
programs/cmd/batch.c
View file @
45905b27
...
...
@@ -150,6 +150,7 @@ WCHAR *WCMD_parameter (WCHAR *s, int n, WCHAR **where) {
while
(
TRUE
)
{
switch
(
*
s
)
{
case
' '
:
/* Skip leading spaces */
case
'\t'
:
/* Treat tabs as spaces */
s
++
;
break
;
case
'"'
:
...
...
@@ -175,7 +176,7 @@ WCHAR *WCMD_parameter (WCHAR *s, int n, WCHAR **where) {
default:
/* Only return where if it is for the right parameter */
if
(
where
!=
NULL
&&
i
==
n
)
*
where
=
s
;
while
((
*
s
!=
'\0'
)
&&
(
*
s
!=
' '
)
&&
(
*
s
!=
','
)
&&
(
*
s
!=
'='
))
{
while
((
*
s
!=
'\0'
)
&&
(
*
s
!=
' '
)
&&
(
*
s
!=
','
)
&&
(
*
s
!=
'='
)
&&
(
*
s
!=
'\t'
)
)
{
*
p
++
=
*
s
++
;
}
if
(
i
==
n
&&
(
p
!=
param
))
{
...
...
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