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
2ef61017
Commit
2ef61017
authored
Feb 19, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Feb 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/tests: Compare strings case-insensitive.
parent
41c0db3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
batch.c
programs/cmd/tests/batch.c
+3
-1
No files found.
programs/cmd/tests/batch.c
View file @
2ef61017
...
...
@@ -110,7 +110,9 @@ static const char *compare_line(const char *out_line, const char *out_end, const
if
(
exp_ptr
+
sizeof
(
pwd_cmd
)
<=
exp_end
&&
!
memcmp
(
exp_ptr
,
pwd_cmd
,
sizeof
(
pwd_cmd
)))
{
exp_ptr
+=
sizeof
(
pwd_cmd
);
if
(
out_end
-
out_ptr
<
workdir_len
||
memcmp
(
out_ptr
,
workdir
,
workdir_len
))
if
(
out_end
-
out_ptr
<
workdir_len
||
(
CompareStringA
(
LOCALE_SYSTEM_DEFAULT
,
NORM_IGNORECASE
,
out_ptr
,
workdir_len
,
workdir
,
workdir_len
)
!=
CSTR_EQUAL
))
return
out_ptr
;
out_ptr
+=
workdir_len
;
continue
;
...
...
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