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
98c64a4b
Commit
98c64a4b
authored
Oct 14, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnsapi: Perform a wide character string comparison if the character set is unknown.
parent
2553b460
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
record.c
dlls/dnsapi/record.c
+9
-6
No files found.
dlls/dnsapi/record.c
View file @
98c64a4b
...
...
@@ -131,12 +131,15 @@ BOOL WINAPI DnsRecordCompare( PDNS_RECORD r1, PDNS_RECORD r2 )
TRACE
(
"(%p,%p)
\n
"
,
r1
,
r2
);
if
(
r1
->
wType
!=
r2
->
wType
||
r1
->
wDataLength
!=
r2
->
wDataLength
||
r1
->
Flags
.
DW
!=
r2
->
Flags
.
DW
||
r1
->
dwReserved
!=
r2
->
dwReserved
)
return
FALSE
;
wide
=
r1
->
Flags
.
S
.
CharSet
==
DnsCharSetUnicode
;
if
(
r1
->
wType
!=
r2
->
wType
||
r1
->
wDataLength
!=
r2
->
wDataLength
||
r1
->
Flags
.
S
.
Section
!=
r2
->
Flags
.
S
.
Section
||
r1
->
Flags
.
S
.
Delete
!=
r2
->
Flags
.
S
.
Delete
||
r1
->
Flags
.
S
.
Unused
!=
r2
->
Flags
.
S
.
Unused
||
r1
->
Flags
.
S
.
Reserved
!=
r2
->
Flags
.
S
.
Reserved
||
r1
->
dwReserved
!=
r2
->
dwReserved
)
return
FALSE
;
wide
=
(
r1
->
Flags
.
S
.
CharSet
==
DnsCharSetUnicode
||
r1
->
Flags
.
S
.
CharSet
==
DnsCharSetUnknown
);
if
(
dns_strcmpX
(
r1
->
pName
,
r2
->
pName
,
wide
))
return
FALSE
;
switch
(
r1
->
wType
)
...
...
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