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
960b6dce
Commit
960b6dce
authored
Jun 04, 2003
by
Marcus Meissner
Committed by
Alexandre Julliard
Jun 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented localeconv() with libc function.
parent
8abbc40e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
1 deletion
+35
-1
locale.c
dlls/msvcrt/locale.c
+34
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
No files found.
dlls/msvcrt/locale.c
View file @
960b6dce
...
...
@@ -30,6 +30,8 @@
#include "wine/debug.h"
#include <locale.h>
WINE_DEFAULT_DEBUG_CHANNEL
(
msvcrt
);
/* FIXME: Need to hold locale for each LC_* type and aggregate
...
...
@@ -547,3 +549,35 @@ int __crtLCMapStringA(
*/
return
LCMapStringA
(
lcid
,
mapflags
,
src
,
srclen
,
dst
,
dstlen
);
}
/*********************************************************************
* localeconv (MSVCRT.@)
*/
struct
MSVCRT_lconv
*
MSVCRT_localeconv
(
void
)
{
struct
lconv
*
ylconv
;
static
struct
MSVCRT_lconv
xlconv
;
ylconv
=
localeconv
();
#define X(x) xlconv.x = ylconv->x;
X
(
decimal_point
);
X
(
thousands_sep
);
X
(
grouping
);
X
(
int_curr_symbol
);
X
(
currency_symbol
);
X
(
mon_decimal_point
);
X
(
mon_thousands_sep
);
X
(
mon_grouping
);
X
(
positive_sign
);
X
(
negative_sign
);
X
(
int_frac_digits
);
X
(
frac_digits
);
X
(
p_cs_precedes
);
X
(
p_sep_by_space
);
X
(
n_cs_precedes
);
X
(
n_sep_by_space
);
X
(
p_sign_posn
);
X
(
n_sign_posn
);
return
&
xlconv
;
}
dlls/msvcrt/msvcrt.spec
View file @
960b6dce
...
...
@@ -655,7 +655,7 @@
@ cdecl labs(long)
@ cdecl ldexp( double long) MSVCRT_ldexp
@ cdecl ldiv(long long) MSVCRT_ldiv
@
stub localeconv #()
@
cdecl localeconv() MSVCRT_localeconv
@ cdecl localtime(ptr)
@ cdecl log(double)
@ cdecl log10(double)
...
...
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