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
c43176b0
Commit
c43176b0
authored
May 16, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
May 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix return values in strlwr and strupr functions.
parent
e4ffd1f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
string.c
dlls/msvcrt/string.c
+12
-8
No files found.
dlls/msvcrt/string.c
View file @
c43176b0
...
...
@@ -100,17 +100,19 @@ int CDECL _strlwr_s(char *str, MSVCRT_size_t len)
/*********************************************************************
* _strlwr_l (MSVCRT.@)
*/
int
CDECL
_strlwr_l
(
char
*
str
,
MSVCRT__locale_t
locale
)
char
*
CDECL
_strlwr_l
(
char
*
str
,
MSVCRT__locale_t
locale
)
{
return
_strlwr_s_l
(
str
,
-
1
,
locale
);
_strlwr_s_l
(
str
,
-
1
,
locale
);
return
str
;
}
/*********************************************************************
* _strlwr (MSVCRT.@)
*/
int
CDECL
_strlwr
(
char
*
str
)
char
*
CDECL
_strlwr
(
char
*
str
)
{
return
_strlwr_s_l
(
str
,
-
1
,
NULL
);
_strlwr_s_l
(
str
,
-
1
,
NULL
);
return
str
;
}
/*********************************************************************
...
...
@@ -162,17 +164,19 @@ int CDECL _strupr_s(char *str, MSVCRT_size_t len)
/*********************************************************************
* _strupr_l (MSVCRT.@)
*/
int
CDECL
_strupr_l
(
char
*
str
,
MSVCRT__locale_t
locale
)
char
*
CDECL
_strupr_l
(
char
*
str
,
MSVCRT__locale_t
locale
)
{
return
_strupr_s_l
(
str
,
-
1
,
locale
);
_strupr_s_l
(
str
,
-
1
,
locale
);
return
str
;
}
/*********************************************************************
* _strupr (MSVCRT.@)
*/
int
CDECL
_strupr
(
char
*
str
)
char
*
CDECL
_strupr
(
char
*
str
)
{
return
_strupr_s_l
(
str
,
-
1
,
NULL
);
_strupr_s_l
(
str
,
-
1
,
NULL
);
return
str
;
}
/*********************************************************************
...
...
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