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
acead48c
Commit
acead48c
authored
Mar 09, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a couple of crashes.
parent
cadf6fc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
utils.c
tools/winegcc/utils.c
+4
-2
winegcc.c
tools/winegcc/winegcc.c
+1
-0
No files found.
tools/winegcc/utils.c
View file @
acead48c
...
@@ -277,9 +277,12 @@ void spawn(const char* prefix, const strarray* args)
...
@@ -277,9 +277,12 @@ void spawn(const char* prefix, const strarray* args)
{
{
int
i
,
status
;
int
i
,
status
;
strarray
*
arr
=
strarray_dup
(
args
);
strarray
*
arr
=
strarray_dup
(
args
);
const
char
**
argv
=
arr
->
base
;
const
char
**
argv
;
char
*
prog
=
0
;
char
*
prog
=
0
;
strarray_add
(
arr
,
NULL
);
argv
=
arr
->
base
;
if
(
prefix
)
if
(
prefix
)
{
{
const
char
*
p
;
const
char
*
p
;
...
@@ -294,7 +297,6 @@ void spawn(const char* prefix, const strarray* args)
...
@@ -294,7 +297,6 @@ void spawn(const char* prefix, const strarray* args)
}
}
}
}
strarray_add
(
arr
,
NULL
);
if
(
verbose
)
if
(
verbose
)
{
{
for
(
i
=
0
;
argv
[
i
];
i
++
)
printf
(
"%s "
,
argv
[
i
]);
for
(
i
=
0
;
argv
[
i
];
i
++
)
printf
(
"%s "
,
argv
[
i
]);
...
...
tools/winegcc/winegcc.c
View file @
acead48c
...
@@ -669,6 +669,7 @@ int main(int argc, char **argv)
...
@@ -669,6 +669,7 @@ int main(int argc, char **argv)
case
'x'
:
case
'o'
:
case
'D'
:
case
'U'
:
case
'x'
:
case
'o'
:
case
'D'
:
case
'U'
:
case
'I'
:
case
'A'
:
case
'l'
:
case
'u'
:
case
'I'
:
case
'A'
:
case
'l'
:
case
'u'
:
case
'b'
:
case
'V'
:
case
'G'
:
case
'L'
:
case
'b'
:
case
'V'
:
case
'G'
:
case
'L'
:
case
'B'
:
if
(
argv
[
i
][
2
])
option_arg
=
&
argv
[
i
][
2
];
if
(
argv
[
i
][
2
])
option_arg
=
&
argv
[
i
][
2
];
else
next_is_arg
=
1
;
else
next_is_arg
=
1
;
break
;
break
;
...
...
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