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
1a4db7cd
Commit
1a4db7cd
authored
Jun 08, 2015
by
Daniel Lehman
Committed by
Alexandre Julliard
Jun 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Add _W_GetMonths.
parent
bc1eaf7a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
3 deletions
+36
-3
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+1
-1
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+1
-1
msvcr120_app.spec
dlls/msvcr120_app/msvcr120_app.spec
+1
-1
locale.c
dlls/msvcrt/locale.c
+33
-0
No files found.
dlls/msvcr110/msvcr110.spec
View file @
1a4db7cd
...
...
@@ -865,7 +865,7 @@
@ cdecl _Strftime(str long str ptr ptr)
@ stub _Unlock_shared_ptr_spin_lock
@ cdecl _W_Getdays()
@
stub _W_Getmonths
@
cdecl _W_Getmonths()
@ stub _W_Gettnames
@ stub _Wcsftime
@ cdecl _XcptFilter(long ptr)
...
...
dlls/msvcr120/msvcr120.spec
View file @
1a4db7cd
...
...
@@ -847,7 +847,7 @@
@ stub -arch=win64 _SetThrowImageBase
@ cdecl _Strftime(str long str ptr ptr)
@ cdecl _W_Getdays()
@
stub _W_Getmonths
@
cdecl _W_Getmonths()
@ stub _W_Gettnames
@ stub _Wcsftime
@ cdecl _XcptFilter(long ptr)
...
...
dlls/msvcr120_app/msvcr120_app.spec
View file @
1a4db7cd
...
...
@@ -843,7 +843,7 @@
@ stub -arch=win64 _SetThrowImageBase
@ cdecl _Strftime(str long str ptr ptr) msvcr120._Strftime
@ cdecl _W_Getdays() msvcr120._W_Getdays
@
stub
_W_Getmonths
@
cdecl _W_Getmonths() msvcr120.
_W_Getmonths
@ stub _W_Gettnames
@ stub _Wcsftime
@ cdecl _XcptFilter(long ptr) msvcr120._XcptFilter
...
...
dlls/msvcrt/locale.c
View file @
1a4db7cd
...
...
@@ -507,6 +507,39 @@ char* CDECL _Getmonths(void)
}
/*********************************************************************
* _W_Getmonths (MSVCRT.@)
*/
MSVCRT_wchar_t
*
CDECL
_W_Getmonths
(
void
)
{
MSVCRT___lc_time_data
*
cur
=
get_locinfo
()
->
lc_time_curr
;
MSVCRT_wchar_t
*
out
;
int
i
,
len
,
size
;
TRACE
(
"
\n
"
);
size
=
cur
->
wstr
.
names
.
am
-
cur
->
wstr
.
names
.
short_mon
[
0
];
out
=
MSVCRT_malloc
((
size
+
1
)
*
sizeof
(
*
out
));
if
(
!
out
)
return
NULL
;
size
=
0
;
for
(
i
=
0
;
i
<
12
;
i
++
)
{
out
[
size
++
]
=
':'
;
len
=
strlenW
(
cur
->
wstr
.
names
.
short_mon
[
i
]);
memcpy
(
&
out
[
size
],
cur
->
wstr
.
names
.
short_mon
[
i
],
len
*
sizeof
(
*
out
));
size
+=
len
;
out
[
size
++
]
=
':'
;
len
=
strlenW
(
cur
->
wstr
.
names
.
mon
[
i
]);
memcpy
(
&
out
[
size
],
cur
->
wstr
.
names
.
mon
[
i
],
len
*
sizeof
(
*
out
));
size
+=
len
;
}
out
[
size
]
=
'\0'
;
return
out
;
}
/*********************************************************************
* _Gettnames (MSVCRT.@)
*/
void
*
CDECL
_Gettnames
(
void
)
...
...
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