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
71e647fe
Commit
71e647fe
authored
Jun 22, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Don't treat all command lines with '/?' as builtin commands.
parent
1d7f820f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
wcmdmain.c
programs/cmd/wcmdmain.c
+3
-4
No files found.
programs/cmd/wcmdmain.c
View file @
71e647fe
...
...
@@ -1405,15 +1405,14 @@ void WCMD_execute (WCHAR *command, WCHAR *redirects,
}
for
(
i
=
0
;
i
<=
WCMD_EXIT
;
i
++
)
{
if
(
CompareStringW
(
LOCALE_USER_DEFAULT
,
NORM_IGNORECASE
|
SORT_STRINGSORT
,
whichcmd
,
count
,
inbuilt
[
i
],
-
1
)
==
2
)
break
;
whichcmd
,
count
,
inbuilt
[
i
],
-
1
)
==
CSTR_EQUAL
)
break
;
}
p
=
WCMD_strtrim_leading_spaces
(
&
whichcmd
[
count
]);
WCMD_parse
(
p
,
quals
,
param1
,
param2
);
WINE_TRACE
(
"param1: %s, param2: %s
\n
"
,
wine_dbgstr_w
(
param1
),
wine_dbgstr_w
(
param2
));
if
((
p
[
0
]
==
'/'
)
&&
(
p
[
1
]
==
'?'
))
{
/*this is a help request for a program*/
if
(
i
<=
WCMD_EXIT
&&
(
p
[
0
]
==
'/'
)
&&
(
p
[
1
]
==
'?'
))
{
/* this is a help request for a builtin program */
i
=
WCMD_HELP
;
memcpy
(
p
,
whichcmd
,
count
*
sizeof
(
WCHAR
));
p
[
count
]
=
'\0'
;
...
...
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