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
705fe163
Commit
705fe163
authored
Jun 27, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Allocate different id's for facets in use_facet functions.
parent
ccb4c484
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
locale.c
dlls/msvcp90/locale.c
+10
-10
No files found.
dlls/msvcp90/locale.c
View file @
705fe163
...
...
@@ -1531,7 +1531,7 @@ ctype_char* ctype_char_use_facet(const locale *loc)
const
locale_facet
*
fac
;
_Lockit_ctor_locktype
(
&
lock
,
_LOCK_LOCALE
);
fac
=
locale__Getfacet
(
loc
,
ctype_char_id
.
id
);
fac
=
locale__Getfacet
(
loc
,
locale_id_operator_size_t
(
&
ctype_char_id
)
);
if
(
fac
)
{
_Lockit_dtor
(
&
lock
);
return
(
ctype_char
*
)
fac
;
...
...
@@ -2286,7 +2286,7 @@ ctype_wchar* ctype_wchar_use_facet(const locale *loc)
const
locale_facet
*
fac
;
_Lockit_ctor_locktype
(
&
lock
,
_LOCK_LOCALE
);
fac
=
locale__Getfacet
(
loc
,
ctype_wchar_id
.
id
);
fac
=
locale__Getfacet
(
loc
,
locale_id_operator_size_t
(
&
ctype_wchar_id
)
);
if
(
fac
)
{
_Lockit_dtor
(
&
lock
);
return
(
ctype_wchar
*
)
fac
;
...
...
@@ -2751,7 +2751,7 @@ codecvt_char* codecvt_char_use_facet(const locale *loc)
const
locale_facet
*
fac
;
_Lockit_ctor_locktype
(
&
lock
,
_LOCK_LOCALE
);
fac
=
locale__Getfacet
(
loc
,
codecvt_char_id
.
id
);
fac
=
locale__Getfacet
(
loc
,
locale_id_operator_size_t
(
&
codecvt_char_id
)
);
if
(
fac
)
{
_Lockit_dtor
(
&
lock
);
return
(
codecvt_char
*
)
fac
;
...
...
@@ -3463,7 +3463,7 @@ static numpunct_char* numpunct_char_use_facet(const locale *loc)
const
locale_facet
*
fac
;
_Lockit_ctor_locktype
(
&
lock
,
_LOCK_LOCALE
);
fac
=
locale__Getfacet
(
loc
,
numpunct_char_id
.
id
);
fac
=
locale__Getfacet
(
loc
,
locale_id_operator_size_t
(
&
numpunct_char_id
)
);
if
(
fac
)
{
_Lockit_dtor
(
&
lock
);
return
(
numpunct_char
*
)
fac
;
...
...
@@ -3819,7 +3819,7 @@ static numpunct_wchar* numpunct_wchar_use_facet(const locale *loc)
const
locale_facet
*
fac
;
_Lockit_ctor_locktype
(
&
lock
,
_LOCK_LOCALE
);
fac
=
locale__Getfacet
(
loc
,
numpunct_wchar_id
.
id
);
fac
=
locale__Getfacet
(
loc
,
locale_id_operator_size_t
(
&
numpunct_wchar_id
)
);
if
(
fac
)
{
_Lockit_dtor
(
&
lock
);
return
(
numpunct_wchar
*
)
fac
;
...
...
@@ -3865,7 +3865,7 @@ static numpunct_wchar* numpunct_short_use_facet(const locale *loc)
const
locale_facet
*
fac
;
_Lockit_ctor_locktype
(
&
lock
,
_LOCK_LOCALE
);
fac
=
locale__Getfacet
(
loc
,
numpunct_short_id
.
id
);
fac
=
locale__Getfacet
(
loc
,
locale_id_operator_size_t
(
&
numpunct_short_id
)
);
if
(
fac
)
{
_Lockit_dtor
(
&
lock
);
return
(
numpunct_wchar
*
)
fac
;
...
...
@@ -4262,7 +4262,7 @@ num_get* num_get_wchar_use_facet(const locale *loc)
const
locale_facet
*
fac
;
_Lockit_ctor_locktype
(
&
lock
,
_LOCK_LOCALE
);
fac
=
locale__Getfacet
(
loc
,
num_get_wchar_id
.
id
);
fac
=
locale__Getfacet
(
loc
,
locale_id_operator_size_t
(
&
num_get_wchar_id
)
);
if
(
fac
)
{
_Lockit_dtor
(
&
lock
);
return
(
num_get
*
)
fac
;
...
...
@@ -5372,7 +5372,7 @@ num_get* num_get_char_use_facet(const locale *loc)
const
locale_facet
*
fac
;
_Lockit_ctor_locktype
(
&
lock
,
_LOCK_LOCALE
);
fac
=
locale__Getfacet
(
loc
,
num_get_char_id
.
id
);
fac
=
locale__Getfacet
(
loc
,
locale_id_operator_size_t
(
&
num_get_char_id
)
);
if
(
fac
)
{
_Lockit_dtor
(
&
lock
);
return
(
num_get
*
)
fac
;
...
...
@@ -6222,7 +6222,7 @@ num_put* num_put_char_use_facet(const locale *loc)
const
locale_facet
*
fac
;
_Lockit_ctor_locktype
(
&
lock
,
_LOCK_LOCALE
);
fac
=
locale__Getfacet
(
loc
,
num_put_char_id
.
id
);
fac
=
locale__Getfacet
(
loc
,
locale_id_operator_size_t
(
&
num_put_char_id
)
);
if
(
fac
)
{
_Lockit_dtor
(
&
lock
);
return
(
num_put
*
)
fac
;
...
...
@@ -6833,7 +6833,7 @@ num_put* num_put_wchar_use_facet(const locale *loc)
const
locale_facet
*
fac
;
_Lockit_ctor_locktype
(
&
lock
,
_LOCK_LOCALE
);
fac
=
locale__Getfacet
(
loc
,
num_put_wchar_id
.
id
);
fac
=
locale__Getfacet
(
loc
,
locale_id_operator_size_t
(
&
num_put_wchar_id
)
);
if
(
fac
)
{
_Lockit_dtor
(
&
lock
);
return
(
num_put
*
)
fac
;
...
...
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