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
b0622bb4
Commit
b0622bb4
authored
Nov 18, 2020
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Mark old_locinfo as const in create_locinfo.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
dcdbe44d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
locale.c
dlls/msvcrt/locale.c
+2
-2
No files found.
dlls/msvcrt/locale.c
View file @
b0622bb4
...
@@ -1035,7 +1035,7 @@ static inline BOOL set_lc_locale_name(MSVCRT_pthreadlocinfo locinfo, int cat)
...
@@ -1035,7 +1035,7 @@ static inline BOOL set_lc_locale_name(MSVCRT_pthreadlocinfo locinfo, int cat)
#endif
#endif
static
inline
BOOL
category_needs_update
(
int
cat
,
int
user_cat
,
static
inline
BOOL
category_needs_update
(
int
cat
,
int
user_cat
,
MSVCRT_pthreadlocinfo
locinfo
,
LCID
lcid
,
unsigned
short
cp
)
const
MSVCRT_threadlocinfo
*
locinfo
,
LCID
lcid
,
unsigned
short
cp
)
{
{
if
(
!
locinfo
)
return
TRUE
;
if
(
!
locinfo
)
return
TRUE
;
if
(
user_cat
!=
cat
&&
user_cat
!=
MSVCRT_LC_ALL
)
return
FALSE
;
if
(
user_cat
!=
cat
&&
user_cat
!=
MSVCRT_LC_ALL
)
return
FALSE
;
...
@@ -1106,7 +1106,7 @@ static MSVCRT___lc_time_data* create_time_data(LCID lcid)
...
@@ -1106,7 +1106,7 @@ static MSVCRT___lc_time_data* create_time_data(LCID lcid)
}
}
static
MSVCRT_pthreadlocinfo
create_locinfo
(
int
category
,
static
MSVCRT_pthreadlocinfo
create_locinfo
(
int
category
,
const
char
*
locale
,
MSVCRT_pthreadlocinfo
old_locinfo
)
const
char
*
locale
,
const
MSVCRT_threadlocinfo
*
old_locinfo
)
{
{
static
const
char
collate
[]
=
"COLLATE="
;
static
const
char
collate
[]
=
"COLLATE="
;
static
const
char
ctype
[]
=
"CTYPE="
;
static
const
char
ctype
[]
=
"CTYPE="
;
...
...
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