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
de92ffa3
Commit
de92ffa3
authored
Aug 12, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winetest: Write-strings warnings fix.
parent
6c3667ad
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
main.c
programs/winetest/main.c
+9
-4
No files found.
programs/winetest/main.c
View file @
de92ffa3
...
...
@@ -623,15 +623,20 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
cmdLine
=
strtok
(
NULL
,
whitespace
);
}
if
(
!
submit
)
{
static
CHAR
platform_windows
[]
=
"WINETEST_PLATFORM=windows"
,
debug_yes
[]
=
"WINETEST_DEBUG=1"
,
interactive_no
[]
=
"WINETEST_INTERACTIVE=0"
,
report_success_no
[]
=
"WINETEST_REPORT_SUCCESS=0"
;
report
(
R_STATUS
,
"Starting up"
);
if
(
!
running_on_visible_desktop
())
report
(
R_FATAL
,
"Tests must be run on a visible desktop"
);
if
(
reset_env
&&
(
putenv
(
"WINETEST_PLATFORM=windows"
)
||
putenv
(
"WINETEST_DEBUG=1"
)
||
putenv
(
"WINETEST_INTERACTIVE=0"
)
||
putenv
(
"WINETEST_REPORT_SUCCESS=0"
)))
if
(
reset_env
&&
(
putenv
(
platform_windows
)
||
putenv
(
debug_yes
)
||
putenv
(
interactive_no
)
||
putenv
(
report_success_no
)))
report
(
R_FATAL
,
"Could not reset environment: %d"
,
errno
);
if
(
!
tag
)
{
...
...
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