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
46ae113e
Commit
46ae113e
authored
Mar 05, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added partially complete _wcsupr_s_l (without locale support).
parent
27e18b3b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
6 deletions
+16
-6
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+1
-1
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-1
wcs.c
dlls/msvcrt/wcs.c
+13
-3
No files found.
dlls/msvcr100/msvcr100.spec
View file @
46ae113e
...
...
@@ -1318,7 +1318,7 @@
@ cdecl _wcsupr(wstr) msvcrt._wcsupr
@ stub _wcsupr_l
@ cdecl _wcsupr_s(wstr long) msvcrt._wcsupr_s
@
stub
_wcsupr_s_l
@
cdecl _wcsupr_s_l(wstr long ptr) msvcrt.
_wcsupr_s_l
@ stub _wcsxfrm_l
@ cdecl _wctime32(ptr) msvcrt._wctime32
@ stub _wctime32_s
...
...
dlls/msvcr80/msvcr80.spec
View file @
46ae113e
...
...
@@ -1171,7 +1171,7 @@
@ cdecl _wcsupr(wstr) msvcrt._wcsupr
@ stub _wcsupr_l
@ cdecl _wcsupr_s(wstr long) msvcrt._wcsupr_s
@
stub
_wcsupr_s_l
@
cdecl _wcsupr_s_l(wstr long ptr) msvcrt.
_wcsupr_s_l
@ stub _wcsxfrm_l
@ cdecl _wctime32(ptr) msvcrt._wctime32
@ stub _wctime32_s
...
...
dlls/msvcr90/msvcr90.spec
View file @
46ae113e
...
...
@@ -1158,7 +1158,7 @@
@ cdecl _wcsupr(wstr) msvcrt._wcsupr
@ stub _wcsupr_l
@ cdecl _wcsupr_s(wstr long) msvcrt._wcsupr_s
@
stub
_wcsupr_s_l
@
cdecl _wcsupr_s_l(wstr long ptr) msvcrt.
_wcsupr_s_l
@ stub _wcsxfrm_l
@ cdecl _wctime32(ptr) msvcrt._wctime32
@ stub _wctime32_s
...
...
dlls/msvcrt/wcs.c
View file @
46ae113e
...
...
@@ -103,10 +103,10 @@ MSVCRT_wchar_t* CDECL _wcsset( MSVCRT_wchar_t* str, MSVCRT_wchar_t c )
}
/******************************************************************
* _wcsupr_s (MSVCRT.@)
*
* _wcsupr_s_l (MSVCRT.@)
*/
INT
CDECL
MSVCRT__wcsupr_s
(
MSVCRT_wchar_t
*
str
,
MSVCRT_size_t
n
)
int
CDECL
MSVCRT__wcsupr_s_l
(
MSVCRT_wchar_t
*
str
,
MSVCRT_size_t
n
,
MSVCRT__locale_t
locale
)
{
MSVCRT_wchar_t
*
ptr
=
str
;
...
...
@@ -120,6 +120,7 @@ INT CDECL MSVCRT__wcsupr_s( MSVCRT_wchar_t* str, MSVCRT_size_t n )
while
(
n
--
)
{
if
(
!*
ptr
)
return
0
;
/* FIXME: add locale support */
*
ptr
=
toupperW
(
*
ptr
);
ptr
++
;
}
...
...
@@ -132,6 +133,15 @@ INT CDECL MSVCRT__wcsupr_s( MSVCRT_wchar_t* str, MSVCRT_size_t n )
}
/******************************************************************
* _wcsupr_s (MSVCRT.@)
*
*/
INT
CDECL
MSVCRT__wcsupr_s
(
MSVCRT_wchar_t
*
str
,
MSVCRT_size_t
n
)
{
return
MSVCRT__wcsupr_s_l
(
str
,
n
,
NULL
);
}
/******************************************************************
* _wcslwr_s (MSVCRT.@)
*/
int
CDECL
MSVCRT__wcslwr_s
(
MSVCRT_wchar_t
*
str
,
MSVCRT_size_t
n
)
...
...
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