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
02ef5767
Commit
02ef5767
authored
Aug 31, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Sep 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Fix echo's special ';' handling.
parent
23e17770
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
builtins.c
programs/cmd/builtins.c
+5
-2
No files found.
programs/cmd/builtins.c
View file @
02ef5767
...
...
@@ -864,10 +864,13 @@ void WCMD_echo (const WCHAR *command) {
int
count
;
const
WCHAR
*
origcommand
=
command
;
if
(
command
[
0
]
==
' '
||
command
[
0
]
==
'\t'
||
command
[
0
]
==
'.'
||
command
[
0
]
==
':'
)
if
(
command
[
0
]
==
' '
||
command
[
0
]
==
'\t'
||
command
[
0
]
==
'.'
||
command
[
0
]
==
':'
||
command
[
0
]
==
';'
)
command
++
;
count
=
strlenW
(
command
);
if
(
count
==
0
&&
origcommand
[
0
]
!=
'.'
&&
origcommand
[
0
]
!=
':'
)
{
if
(
count
==
0
&&
origcommand
[
0
]
!=
'.'
&&
origcommand
[
0
]
!=
':'
&&
origcommand
[
0
]
!=
';'
)
{
if
(
echo_mode
)
WCMD_output
(
WCMD_LoadMessage
(
WCMD_ECHOPROMPT
),
onW
);
else
WCMD_output
(
WCMD_LoadMessage
(
WCMD_ECHOPROMPT
),
offW
);
return
;
...
...
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