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
5554c847
Commit
5554c847
authored
Nov 30, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mountmgr: Use the ntdll Unicode string functions instead of wine/unicode.h.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
39336fd0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
cred.c
dlls/mountmgr.sys/cred.c
+4
-5
No files found.
dlls/mountmgr.sys/cred.c
View file @
5554c847
...
...
@@ -40,7 +40,6 @@
#include "mountmgr.h"
#include "unixlib.h"
#include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mountmgr
);
...
...
@@ -167,7 +166,7 @@ static SecKeychainItemRef find_credential( const WCHAR *name )
CFRelease
(
search
);
return
NULL
;
}
if
(
strcmpiW
(
itemname
,
name
))
if
(
wcsicmp
(
itemname
,
name
))
{
CFRelease
(
item
);
free
(
itemname
);
...
...
@@ -466,9 +465,9 @@ static BOOL match_credential( void *data, UInt32 data_len, const WCHAR *filter )
TRACE
(
"comparing filter %s to target name %s
\n
"
,
debugstr_w
(
filter
),
debugstr_w
(
targetname
)
);
p
=
strchrW
(
filter
,
'*'
);
if
(
*
p
&&
!
p
[
1
])
ret
=
!
strncmpiW
(
filter
,
targetname
,
p
-
filter
);
else
ret
=
!
strcmpiW
(
filter
,
targetname
);
p
=
wcschr
(
filter
,
'*'
);
if
(
*
p
&&
!
p
[
1
])
ret
=
!
wcsnicmp
(
filter
,
targetname
,
p
-
filter
);
else
ret
=
!
wcsicmp
(
filter
,
targetname
);
free
(
targetname
);
return
ret
;
}
...
...
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