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
6e506eae
Commit
6e506eae
authored
Sep 09, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Sep 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: GOTO is a no-op and doesn't output anything in interactive mode.
parent
24aa18d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
builtins.c
programs/cmd/builtins.c
+5
-4
No files found.
programs/cmd/builtins.c
View file @
6e506eae
...
...
@@ -1377,14 +1377,15 @@ void WCMD_goto (CMD_LIST **cmdList) {
/* Do not process any more parts of a processed multipart or multilines command */
if
(
cmdList
)
*
cmdList
=
NULL
;
if
(
param1
[
0
]
==
0x00
)
{
WCMD_output
(
WCMD_LoadMessage
(
WCMD_NOARG
));
return
;
}
if
(
context
!=
NULL
)
{
WCHAR
*
paramStart
=
param1
,
*
str
;
static
const
WCHAR
eofW
[]
=
{
':'
,
'e'
,
'o'
,
'f'
,
'\0'
};
if
(
param1
[
0
]
==
0x00
)
{
WCMD_output
(
WCMD_LoadMessage
(
WCMD_NOARG
));
return
;
}
/* Handle special :EOF label */
if
(
lstrcmpiW
(
eofW
,
param1
)
==
0
)
{
context
->
skip_rest
=
TRUE
;
...
...
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