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
3c941962
Commit
3c941962
authored
Oct 30, 2023
by
Bartosz Kosiorek
Committed by
Alexandre Julliard
Nov 02, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Add _mbslwr_l implementation.
parent
fce33118
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
48 additions
and
28 deletions
+48
-28
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+1
-1
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+1
-1
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+1
-1
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-1
mbcs.c
dlls/msvcrt/mbcs.c
+40
-20
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
ucrtbase.spec
dlls/ucrtbase/ucrtbase.spec
+2
-2
No files found.
dlls/msvcr100/msvcr100.spec
View file @
3c941962
...
@@ -1120,7 +1120,7 @@
...
@@ -1120,7 +1120,7 @@
@ cdecl _mbslen(str)
@ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str)
@ cdecl _mbslwr(str)
@
stub _mbslwr_l
@
cdecl _mbslwr_l(str ptr)
@ cdecl _mbslwr_s(str long)
@ cdecl _mbslwr_s(str long)
@ cdecl _mbslwr_s_l(str long ptr)
@ cdecl _mbslwr_s_l(str long ptr)
@ cdecl _mbsnbcat(str str long)
@ cdecl _mbsnbcat(str str long)
...
...
dlls/msvcr110/msvcr110.spec
View file @
3c941962
...
@@ -1477,7 +1477,7 @@
...
@@ -1477,7 +1477,7 @@
@ cdecl _mbslen(str)
@ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str)
@ cdecl _mbslwr(str)
@
stub _mbslwr_l
@
cdecl _mbslwr_l(str ptr)
@ cdecl _mbslwr_s(str long)
@ cdecl _mbslwr_s(str long)
@ cdecl _mbslwr_s_l(str long ptr)
@ cdecl _mbslwr_s_l(str long ptr)
@ cdecl _mbsnbcat(str str long)
@ cdecl _mbsnbcat(str str long)
...
...
dlls/msvcr120/msvcr120.spec
View file @
3c941962
...
@@ -1488,7 +1488,7 @@
...
@@ -1488,7 +1488,7 @@
@ cdecl _mbslen(str)
@ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str)
@ cdecl _mbslwr(str)
@
stub _mbslwr_l
@
cdecl _mbslwr_l(str ptr)
@ cdecl _mbslwr_s(str long)
@ cdecl _mbslwr_s(str long)
@ cdecl _mbslwr_s_l(str long ptr)
@ cdecl _mbslwr_s_l(str long ptr)
@ cdecl _mbsnbcat(str str long)
@ cdecl _mbsnbcat(str str long)
...
...
dlls/msvcr80/msvcr80.spec
View file @
3c941962
...
@@ -792,7 +792,7 @@
...
@@ -792,7 +792,7 @@
@ cdecl _mbslen(str)
@ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str)
@ cdecl _mbslwr(str)
@
stub _mbslwr_l
@
cdecl _mbslwr_l(str ptr)
@ cdecl _mbslwr_s(str long)
@ cdecl _mbslwr_s(str long)
@ cdecl _mbslwr_s_l(str long ptr)
@ cdecl _mbslwr_s_l(str long ptr)
@ cdecl _mbsnbcat(str str long)
@ cdecl _mbsnbcat(str str long)
...
...
dlls/msvcr90/msvcr90.spec
View file @
3c941962
...
@@ -770,7 +770,7 @@
...
@@ -770,7 +770,7 @@
@ cdecl _mbslen(str)
@ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str)
@ cdecl _mbslwr(str)
@
stub _mbslwr_l
@
cdecl _mbslwr_l(str ptr)
@ cdecl _mbslwr_s(str long)
@ cdecl _mbslwr_s(str long)
@ cdecl _mbslwr_s_l(str long ptr)
@ cdecl _mbslwr_s_l(str long ptr)
@ cdecl _mbsnbcat(str str long)
@ cdecl _mbsnbcat(str str long)
...
...
dlls/msvcrt/mbcs.c
View file @
3c941962
...
@@ -2271,30 +2271,50 @@ unsigned char* CDECL _mbsncat(unsigned char* dst, const unsigned char* src, size
...
@@ -2271,30 +2271,50 @@ unsigned char* CDECL _mbsncat(unsigned char* dst, const unsigned char* src, size
/*********************************************************************
/*********************************************************************
* _mbslwr(MSVCRT.@)
* _mbslwr
_l
(MSVCRT.@)
*/
*/
unsigned
char
*
CDECL
_mbslwr
(
unsigned
char
*
s
)
unsigned
char
*
CDECL
_mbslwr
_l
(
unsigned
char
*
s
,
_locale_t
locale
)
{
{
unsigned
char
*
ret
=
s
;
pthreadmbcinfo
mbcinfo
;
if
(
!
s
)
unsigned
char
*
ret
=
s
;
return
NULL
;
if
(
get_mbcinfo
()
->
ismbcodepage
)
if
(
!
s
)
{
return
NULL
;
unsigned
int
c
;
while
(
*
s
)
if
(
locale
)
mbcinfo
=
locale
->
mbcinfo
;
else
mbcinfo
=
get_mbcinfo
();
if
(
mbcinfo
->
ismbcodepage
)
{
{
c
=
_mbctolower
(
_mbsnextc
(
s
));
unsigned
int
c
;
/* Note that I assume that the size of the character is unchanged */
if
(
c
>
255
)
while
(
*
s
)
{
{
*
s
++=
(
c
>>
8
);
c
=
_mbctolower_l
(
_mbsnextc_l
(
s
,
locale
),
locale
);
c
=
c
&
0xff
;
/* Note that I assume that the size of the character is unchanged */
}
if
(
c
>
255
)
*
s
++=
c
;
{
*
s
++
=
(
c
>>
8
);
c
=
c
&
0xff
;
}
*
s
++
=
c
;
}
}
}
}
else
else
for
(
;
*
s
;
s
++
)
*
s
=
_tolower_l
(
*
s
,
NULL
);
{
return
ret
;
for
(
;
*
s
;
s
++
)
*
s
=
_tolower_l
(
*
s
,
locale
);
}
return
ret
;
}
/*********************************************************************
* _mbslwr(MSVCRT.@)
*/
unsigned
char
*
CDECL
_mbslwr
(
unsigned
char
*
s
)
{
return
_mbslwr_l
(
s
,
NULL
);
}
}
/*********************************************************************
/*********************************************************************
...
...
dlls/msvcrt/msvcrt.spec
View file @
3c941962
...
@@ -741,7 +741,7 @@
...
@@ -741,7 +741,7 @@
@ cdecl _mbslen(str)
@ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str)
@ cdecl _mbslwr(str)
# stub
_mbslwr_l(str ptr)
@ cdecl
_mbslwr_l(str ptr)
@ cdecl _mbslwr_s(str long)
@ cdecl _mbslwr_s(str long)
@ cdecl _mbslwr_s_l(str long ptr)
@ cdecl _mbslwr_s_l(str long ptr)
@ cdecl _mbsnbcat(str str long)
@ cdecl _mbsnbcat(str str long)
...
...
dlls/ucrtbase/ucrtbase.spec
View file @
3c941962
...
@@ -636,7 +636,7 @@
...
@@ -636,7 +636,7 @@
@ cdecl _mbslen(str)
@ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str)
@ cdecl _mbslwr(str)
@
stub _mbslwr_l
@
cdecl _mbslwr_l(str ptr)
@ cdecl _mbslwr_s(str long)
@ cdecl _mbslwr_s(str long)
@ cdecl _mbslwr_s_l(str long ptr)
@ cdecl _mbslwr_s_l(str long ptr)
@ cdecl _mbsnbcat(str str long)
@ cdecl _mbsnbcat(str str long)
...
@@ -1205,7 +1205,7 @@
...
@@ -1205,7 +1205,7 @@
@ cdecl _o__mbslen(str) _mbslen
@ cdecl _o__mbslen(str) _mbslen
@ cdecl _o__mbslen_l(str ptr) _mbslen_l
@ cdecl _o__mbslen_l(str ptr) _mbslen_l
@ cdecl _o__mbslwr(str) _mbslwr
@ cdecl _o__mbslwr(str) _mbslwr
@
stub _o_
_mbslwr_l
@
cdecl _o__mbslwr_l(str ptr)
_mbslwr_l
@ cdecl _o__mbslwr_s(str long) _mbslwr_s
@ cdecl _o__mbslwr_s(str long) _mbslwr_s
@ cdecl _o__mbslwr_s_l(str long ptr) _mbslwr_s_l
@ cdecl _o__mbslwr_s_l(str long ptr) _mbslwr_s_l
@ cdecl _o__mbsnbcat(str str long) _mbsnbcat
@ cdecl _o__mbsnbcat(str str long) _mbsnbcat
...
...
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