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
929a92f3
Commit
929a92f3
authored
Jun 15, 2007
by
Jason Edmeades
Committed by
Alexandre Julliard
Jun 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd.exe: GOTO throws away any preloaded multi part/line command.
parent
8f12d8bd
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
batch.c
programs/cmd/batch.c
+1
-1
builtins.c
programs/cmd/builtins.c
+4
-1
wcmd.h
programs/cmd/wcmd.h
+1
-1
wcmdmain.c
programs/cmd/wcmdmain.c
+1
-1
No files found.
programs/cmd/batch.c
View file @
929a92f3
...
...
@@ -97,7 +97,7 @@ void WCMD_batch (WCHAR *file, WCHAR *command, int called, WCHAR *startLabel, HAN
/* If processing a call :label, 'goto' the label in question */
if
(
startLabel
)
{
strcpyW
(
param1
,
startLabel
);
WCMD_goto
();
WCMD_goto
(
NULL
);
}
/*
...
...
programs/cmd/builtins.c
View file @
929a92f3
...
...
@@ -686,10 +686,13 @@ void WCMD_give_help (WCHAR *command) {
* FIXME: DOS is supposed to allow labels with spaces - we don't.
*/
void
WCMD_goto
(
void
)
{
void
WCMD_goto
(
CMD_LIST
**
cmdList
)
{
WCHAR
string
[
MAX_PATH
];
/* Do not process any more parts of a processed multipart or multilines command */
*
cmdList
=
NULL
;
if
(
param1
[
0
]
==
0x00
)
{
WCMD_output
(
WCMD_LoadMessage
(
WCMD_NOARG
));
return
;
...
...
programs/cmd/wcmd.h
View file @
929a92f3
...
...
@@ -53,7 +53,7 @@ void WCMD_enter_paged_mode(const WCHAR *);
void
WCMD_exit
(
void
);
void
WCMD_for
(
WCHAR
*
,
CMD_LIST
**
cmdList
);
void
WCMD_give_help
(
WCHAR
*
command
);
void
WCMD_goto
(
void
);
void
WCMD_goto
(
CMD_LIST
**
cmdList
);
void
WCMD_if
(
WCHAR
*
,
CMD_LIST
**
cmdList
);
void
WCMD_leave_paged_mode
(
void
);
void
WCMD_more
(
WCHAR
*
);
...
...
programs/cmd/wcmdmain.c
View file @
929a92f3
...
...
@@ -712,7 +712,7 @@ void WCMD_process_command (WCHAR *command, CMD_LIST **cmdList)
WCMD_for
(
p
,
cmdList
);
break
;
case
WCMD_GOTO
:
WCMD_goto
();
WCMD_goto
(
cmdList
);
break
;
case
WCMD_HELP
:
WCMD_give_help
(
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