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
cd2f10a6
Commit
cd2f10a6
authored
Apr 16, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Apr 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Remove an invalid trace and comment.
parent
a4f733ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
environ.c
dlls/kernel32/tests/environ.c
+5
-6
No files found.
dlls/kernel32/tests/environ.c
View file @
cd2f10a6
...
...
@@ -242,12 +242,11 @@ static void test_ExpandEnvironmentStringsA(void)
/* Try to get the required buffer size 'the natural way' */
strcpy
(
buf
,
"%EnvVar%"
);
ret_size
=
ExpandEnvironmentStringsA
(
buf
,
NULL
,
0
);
/* v5.1.2600.2945 (XP SP2) returns len + 2 here! */
ok
(
ret_size
==
strlen
(
value
)
+
1
||
ret_size
==
strlen
(
value
)
+
2
||
ret_size
==
0
/* Win95 */
,
"ExpandEnvironmentStrings returned %d instead of %d
\n
"
,
ret_size
,
lstrlenA
(
value
)
+
1
);
if
(
ret_size
==
strlen
(
value
)
+
2
)
trace
(
"ExpandEnvironmentStrings is buggy: it returned len + 2
\n
"
);
ok
(
ret_size
==
strlen
(
value
)
+
1
||
/* win98 */
ret_size
==
strlen
(
value
)
+
2
||
/* win2k, XP, win2k3 */
ret_size
==
0
/* Win95 */
,
"ExpandEnvironmentStrings returned %d instead of %d, %d or %d
\n
"
,
ret_size
,
lstrlenA
(
value
)
+
1
,
lstrlenA
(
value
)
+
2
,
0
);
/* Again, side-stepping the Win95 bug */
ret_size
=
ExpandEnvironmentStringsA
(
buf
,
buf1
,
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