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
99c67eef
Commit
99c67eef
authored
Jul 09, 2003
by
Mike McCormack
Committed by
Alexandre Julliard
Jul 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Null parameters need to be quoted on the commandline.
parent
fc86392a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
env.c
dlls/ntdll/env.c
+2
-0
wcmdmain.c
programs/wcmd/wcmdmain.c
+2
-0
winevdm.c
programs/winevdm/winevdm.c
+2
-0
No files found.
dlls/ntdll/env.c
View file @
99c67eef
...
...
@@ -538,6 +538,7 @@ BOOL build_command_line( char **argv )
has_space
=
0
;
bcount
=
0
;
a
=*
arg
;
if
(
!*
a
)
has_space
=
1
;
while
(
*
a
!=
'\0'
)
{
if
(
*
a
==
'\\'
)
{
bcount
++
;
...
...
@@ -573,6 +574,7 @@ BOOL build_command_line( char **argv )
/* Check for quotes and spaces in this argument */
has_space
=
has_quote
=
0
;
a
=*
arg
;
if
(
!*
a
)
has_space
=
1
;
while
(
*
a
!=
'\0'
)
{
if
(
*
a
==
' '
||
*
a
==
'\t'
)
{
has_space
=
1
;
...
...
programs/wcmd/wcmdmain.c
View file @
99c67eef
...
...
@@ -97,6 +97,7 @@ int main (int argc, char *argv[])
has_space
=
0
;
bcount
=
0
;
a
=*
arg
;
if
(
!*
a
)
has_space
=
1
;
while
(
*
a
!=
'\0'
)
{
if
(
*
a
==
'\\'
)
{
bcount
++
;
...
...
@@ -131,6 +132,7 @@ int main (int argc, char *argv[])
/* Check for quotes and spaces in this argument */
has_space
=
has_quote
=
0
;
a
=*
arg
;
if
(
!*
a
)
has_space
=
1
;
while
(
*
a
!=
'\0'
)
{
if
(
*
a
==
' '
||
*
a
==
'\t'
)
{
has_space
=
1
;
...
...
programs/winevdm/winevdm.c
View file @
99c67eef
...
...
@@ -48,6 +48,7 @@ static char *build_command_line( char **argv )
has_space
=
0
;
bcount
=
0
;
a
=*
arg
;
if
(
!*
a
)
has_space
=
1
;
while
(
*
a
!=
'\0'
)
{
if
(
*
a
==
'\\'
)
{
bcount
++
;
...
...
@@ -82,6 +83,7 @@ static char *build_command_line( char **argv )
/* Check for quotes and spaces in this argument */
has_space
=
has_quote
=
0
;
a
=*
arg
;
if
(
!*
a
)
has_space
=
1
;
while
(
*
a
!=
'\0'
)
{
if
(
*
a
==
' '
||
*
a
==
'\t'
)
{
has_space
=
1
;
...
...
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