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
e7dc3f1a
Commit
e7dc3f1a
authored
Feb 20, 2007
by
Jason Edmeades
Committed by
Alexandre Julliard
Feb 21, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd.exe: Add support for %*.
parent
c3666489
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
batch.c
programs/cmd/batch.c
+10
-1
No files found.
programs/cmd/batch.c
View file @
e7dc3f1a
...
...
@@ -155,6 +155,14 @@ int i;
strcpy
(
p
,
t
);
strcat
(
p
,
s
);
free
(
s
);
}
else
if
(
*
(
p
+
1
)
==
'*'
)
{
char
*
startOfParms
=
NULL
;
s
=
strdup
(
p
+
2
);
t
=
WCMD_parameter
(
context
->
command
,
1
,
&
startOfParms
);
if
(
startOfParms
!=
NULL
)
strcpy
(
p
,
startOfParms
);
else
*
p
=
0x00
;
strcat
(
p
,
s
);
free
(
s
);
}
else
{
p
++
;
}
...
...
@@ -245,7 +253,8 @@ char *p;
case
'\0'
:
return
param
;
default:
if
(
where
!=
NULL
)
*
where
=
s
;
/* Only return where if it is for the right parameter */
if
(
where
!=
NULL
&&
i
==
n
)
*
where
=
s
;
while
((
*
s
!=
'\0'
)
&&
(
*
s
!=
' '
))
{
*
p
++
=
*
s
++
;
}
...
...
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