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
1228f0bb
Commit
1228f0bb
authored
Sep 10, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added __dstbias() export.
parent
5d2ee3ee
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
27 additions
and
16 deletions
+27
-16
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+2
-2
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+2
-2
msvcr70.spec
dlls/msvcr70/msvcr70.spec
+1
-1
msvcr71.spec
dlls/msvcr71/msvcr71.spec
+1
-1
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+2
-2
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+2
-2
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+2
-2
time.c
dlls/msvcrt/tests/time.c
+11
-0
time.c
dlls/msvcrt/time.c
+4
-4
No files found.
dlls/msvcr100/msvcr100.spec
View file @
1228f0bb
...
@@ -584,7 +584,7 @@
...
@@ -584,7 +584,7 @@
@ cdecl __daylight() MSVCRT___p__daylight
@ cdecl __daylight() MSVCRT___p__daylight
@ cdecl __dllonexit(ptr ptr ptr)
@ cdecl __dllonexit(ptr ptr ptr)
@ cdecl __doserrno() MSVCRT___doserrno
@ cdecl __doserrno() MSVCRT___doserrno
@
stub
__dstbias
@
cdecl __dstbias() MSVCRT___p
__dstbias
@ stub ___fls_getvalue@4
@ stub ___fls_getvalue@4
@ stub ___fls_setvalue@8
@ stub ___fls_setvalue@8
@ cdecl __fpecode()
@ cdecl __fpecode()
...
@@ -633,7 +633,7 @@
...
@@ -633,7 +633,7 @@
@ cdecl __p__acmdln()
@ cdecl __p__acmdln()
@ cdecl __p__commode()
@ cdecl __p__commode()
@ cdecl __p__daylight() MSVCRT___p__daylight
@ cdecl __p__daylight() MSVCRT___p__daylight
@ cdecl __p__dstbias()
@ cdecl __p__dstbias()
MSVCRT___p__dstbias
@ cdecl __p__environ() MSVCRT___p__environ
@ cdecl __p__environ() MSVCRT___p__environ
@ cdecl __p__fmode()
@ cdecl __p__fmode()
@ cdecl __p__iob() MSVCRT___iob_func
@ cdecl __p__iob() MSVCRT___iob_func
...
...
dlls/msvcr110/msvcr110.spec
View file @
1228f0bb
...
@@ -934,7 +934,7 @@
...
@@ -934,7 +934,7 @@
@ cdecl __daylight() MSVCRT___p__daylight
@ cdecl __daylight() MSVCRT___p__daylight
@ cdecl __dllonexit(ptr ptr ptr)
@ cdecl __dllonexit(ptr ptr ptr)
@ cdecl __doserrno() MSVCRT___doserrno
@ cdecl __doserrno() MSVCRT___doserrno
@
stub
__dstbias
@
cdecl __dstbias() MSVCRT___p
__dstbias
@ cdecl __fpecode()
@ cdecl __fpecode()
@ stub __free_locale
@ stub __free_locale
@ stub __get_current_locale
@ stub __get_current_locale
...
@@ -982,7 +982,7 @@
...
@@ -982,7 +982,7 @@
@ cdecl __p__acmdln()
@ cdecl __p__acmdln()
@ cdecl __p__commode()
@ cdecl __p__commode()
@ cdecl __p__daylight() MSVCRT___p__daylight
@ cdecl __p__daylight() MSVCRT___p__daylight
@ cdecl __p__dstbias()
@ cdecl __p__dstbias()
MSVCRT___p__dstbias
@ cdecl __p__environ() MSVCRT___p__environ
@ cdecl __p__environ() MSVCRT___p__environ
@ cdecl __p__fmode()
@ cdecl __p__fmode()
@ cdecl __p__iob() MSVCRT___iob_func
@ cdecl __p__iob() MSVCRT___iob_func
...
...
dlls/msvcr70/msvcr70.spec
View file @
1228f0bb
...
@@ -171,7 +171,7 @@
...
@@ -171,7 +171,7 @@
@ cdecl __p__amblksiz()
@ cdecl __p__amblksiz()
@ cdecl __p__commode()
@ cdecl __p__commode()
@ cdecl __p__daylight() MSVCRT___p__daylight
@ cdecl __p__daylight() MSVCRT___p__daylight
@ cdecl __p__dstbias()
@ cdecl __p__dstbias()
MSVCRT___p__dstbias
@ cdecl __p__environ() MSVCRT___p__environ
@ cdecl __p__environ() MSVCRT___p__environ
@ stub __p__fileinfo()
@ stub __p__fileinfo()
@ cdecl __p__fmode()
@ cdecl __p__fmode()
...
...
dlls/msvcr71/msvcr71.spec
View file @
1228f0bb
...
@@ -166,7 +166,7 @@
...
@@ -166,7 +166,7 @@
@ cdecl __p__amblksiz()
@ cdecl __p__amblksiz()
@ cdecl __p__commode()
@ cdecl __p__commode()
@ cdecl __p__daylight() MSVCRT___p__daylight
@ cdecl __p__daylight() MSVCRT___p__daylight
@ cdecl __p__dstbias()
@ cdecl __p__dstbias()
MSVCRT___p__dstbias
@ cdecl __p__environ() MSVCRT___p__environ
@ cdecl __p__environ() MSVCRT___p__environ
@ stub __p__fileinfo()
@ stub __p__fileinfo()
@ cdecl __p__fmode()
@ cdecl __p__fmode()
...
...
dlls/msvcr80/msvcr80.spec
View file @
1228f0bb
...
@@ -220,7 +220,7 @@
...
@@ -220,7 +220,7 @@
@ cdecl __daylight() MSVCRT___p__daylight
@ cdecl __daylight() MSVCRT___p__daylight
@ cdecl __dllonexit(ptr ptr ptr)
@ cdecl __dllonexit(ptr ptr ptr)
@ cdecl __doserrno() MSVCRT___doserrno
@ cdecl __doserrno() MSVCRT___doserrno
@
stub
__dstbias
@
cdecl __dstbias() MSVCRT___p
__dstbias
@ stub -arch=i386 ___fls_getvalue@4
@ stub -arch=i386 ___fls_getvalue@4
@ stub -arch=x86_64 __fls_getvalue
@ stub -arch=x86_64 __fls_getvalue
@ stub -arch=i386 ___fls_setvalue@8
@ stub -arch=i386 ___fls_setvalue@8
...
@@ -277,7 +277,7 @@
...
@@ -277,7 +277,7 @@
@ cdecl __p__amblksiz()
@ cdecl __p__amblksiz()
@ cdecl __p__commode()
@ cdecl __p__commode()
@ cdecl __p__daylight() MSVCRT___p__daylight
@ cdecl __p__daylight() MSVCRT___p__daylight
@ cdecl __p__dstbias()
@ cdecl __p__dstbias()
MSVCRT___p__dstbias
@ cdecl __p__environ() MSVCRT___p__environ
@ cdecl __p__environ() MSVCRT___p__environ
@ cdecl __p__fmode()
@ cdecl __p__fmode()
@ cdecl __p__iob() MSVCRT___iob_func
@ cdecl __p__iob() MSVCRT___iob_func
...
...
dlls/msvcr90/msvcr90.spec
View file @
1228f0bb
...
@@ -211,7 +211,7 @@
...
@@ -211,7 +211,7 @@
@ cdecl __daylight() MSVCRT___p__daylight
@ cdecl __daylight() MSVCRT___p__daylight
@ cdecl __dllonexit(ptr ptr ptr)
@ cdecl __dllonexit(ptr ptr ptr)
@ cdecl __doserrno() MSVCRT___doserrno
@ cdecl __doserrno() MSVCRT___doserrno
@
stub
__dstbias
@
cdecl __dstbias() MSVCRT___p
__dstbias
@ stub ___fls_getvalue@4
@ stub ___fls_getvalue@4
@ stub ___fls_setvalue@8
@ stub ___fls_setvalue@8
@ cdecl __fpecode()
@ cdecl __fpecode()
...
@@ -266,7 +266,7 @@
...
@@ -266,7 +266,7 @@
@ cdecl __p__amblksiz()
@ cdecl __p__amblksiz()
@ cdecl __p__commode()
@ cdecl __p__commode()
@ cdecl __p__daylight() MSVCRT___p__daylight
@ cdecl __p__daylight() MSVCRT___p__daylight
@ cdecl __p__dstbias()
@ cdecl __p__dstbias()
MSVCRT___p__dstbias
@ cdecl __p__environ() MSVCRT___p__environ
@ cdecl __p__environ() MSVCRT___p__environ
@ cdecl __p__fmode()
@ cdecl __p__fmode()
@ cdecl __p__iob() MSVCRT___iob_func
@ cdecl __p__iob() MSVCRT___iob_func
...
...
dlls/msvcrt/msvcrt.spec
View file @
1228f0bb
...
@@ -209,7 +209,7 @@
...
@@ -209,7 +209,7 @@
@ cdecl __daylight() MSVCRT___p__daylight
@ cdecl __daylight() MSVCRT___p__daylight
@ cdecl __dllonexit(ptr ptr ptr)
@ cdecl __dllonexit(ptr ptr ptr)
@ cdecl __doserrno() MSVCRT___doserrno
@ cdecl __doserrno() MSVCRT___doserrno
# stub __dstbias()
@ cdecl __dstbias() MSVCRT___p__dstbias
@ cdecl __fpecode()
@ cdecl __fpecode()
@ stub __get_app_type
@ stub __get_app_type
@ cdecl __getmainargs(ptr ptr ptr long ptr)
@ cdecl __getmainargs(ptr ptr ptr long ptr)
...
@@ -255,7 +255,7 @@
...
@@ -255,7 +255,7 @@
@ cdecl __p__amblksiz()
@ cdecl __p__amblksiz()
@ cdecl __p__commode()
@ cdecl __p__commode()
@ cdecl __p__daylight() MSVCRT___p__daylight
@ cdecl __p__daylight() MSVCRT___p__daylight
@ cdecl __p__dstbias()
@ cdecl __p__dstbias()
MSVCRT___p__dstbias
@ cdecl __p__environ() MSVCRT___p__environ
@ cdecl __p__environ() MSVCRT___p__environ
@ stub __p__fileinfo()
@ stub __p__fileinfo()
@ cdecl __p__fmode()
@ cdecl __p__fmode()
...
...
dlls/msvcrt/tests/time.c
View file @
1228f0bb
...
@@ -47,6 +47,7 @@ static errno_t (__cdecl *p_localtime64_s)(struct tm*, __time64_t*);
...
@@ -47,6 +47,7 @@ static errno_t (__cdecl *p_localtime64_s)(struct tm*, __time64_t*);
static
int
*
(
__cdecl
*
p__daylight
)(
void
);
static
int
*
(
__cdecl
*
p__daylight
)(
void
);
static
int
*
(
__cdecl
*
p___p__daylight
)(
void
);
static
int
*
(
__cdecl
*
p___p__daylight
)(
void
);
static
long
*
(
__cdecl
*
p___p__dstbias
)(
void
);
static
long
*
(
__cdecl
*
p___p__dstbias
)(
void
);
static
long
*
(
__cdecl
*
p__dstbias
)(
void
);
static
long
*
(
__cdecl
*
p___p__timezone
)(
void
);
static
long
*
(
__cdecl
*
p___p__timezone
)(
void
);
static
size_t
(
__cdecl
*
p_strftime
)(
char
*
,
size_t
,
const
char
*
,
const
struct
tm
*
);
static
size_t
(
__cdecl
*
p_strftime
)(
char
*
,
size_t
,
const
char
*
,
const
struct
tm
*
);
static
size_t
(
__cdecl
*
p_wcsftime
)(
wchar_t
*
,
size_t
,
const
wchar_t
*
,
const
struct
tm
*
);
static
size_t
(
__cdecl
*
p_wcsftime
)(
wchar_t
*
,
size_t
,
const
wchar_t
*
,
const
struct
tm
*
);
...
@@ -67,6 +68,7 @@ static void init(void)
...
@@ -67,6 +68,7 @@ static void init(void)
p__daylight
=
(
void
*
)
GetProcAddress
(
hmod
,
"__daylight"
);
p__daylight
=
(
void
*
)
GetProcAddress
(
hmod
,
"__daylight"
);
p___p__daylight
=
(
void
*
)
GetProcAddress
(
hmod
,
"__p__daylight"
);
p___p__daylight
=
(
void
*
)
GetProcAddress
(
hmod
,
"__p__daylight"
);
p___p__dstbias
=
(
void
*
)
GetProcAddress
(
hmod
,
"__p__dstbias"
);
p___p__dstbias
=
(
void
*
)
GetProcAddress
(
hmod
,
"__p__dstbias"
);
p__dstbias
=
(
void
*
)
GetProcAddress
(
hmod
,
"__dstbias"
);
p___p__timezone
=
(
void
*
)
GetProcAddress
(
hmod
,
"__p__timezone"
);
p___p__timezone
=
(
void
*
)
GetProcAddress
(
hmod
,
"__p__timezone"
);
p_strftime
=
(
void
*
)
GetProcAddress
(
hmod
,
"strftime"
);
p_strftime
=
(
void
*
)
GetProcAddress
(
hmod
,
"strftime"
);
p_wcsftime
=
(
void
*
)
GetProcAddress
(
hmod
,
"wcsftime"
);
p_wcsftime
=
(
void
*
)
GetProcAddress
(
hmod
,
"wcsftime"
);
...
@@ -821,6 +823,15 @@ static void test__tzset(void)
...
@@ -821,6 +823,15 @@ static void test__tzset(void)
return
;
return
;
}
}
if
(
p__dstbias
)
{
ret
=
*
p__dstbias
();
ok
(
ret
==
-
3600
,
"*__dstbias() = %d
\n
"
,
ret
);
ret
=
*
p___p__dstbias
();
ok
(
ret
==
-
3600
,
"*__p__dstbias() = %d
\n
"
,
ret
);
}
else
win_skip
(
"__dstbias() is not available.
\n
"
);
_snprintf
(
TZ_env
,
255
,
"TZ=%s"
,(
getenv
(
"TZ"
)
?
getenv
(
"TZ"
)
:
""
));
_snprintf
(
TZ_env
,
255
,
"TZ=%s"
,(
getenv
(
"TZ"
)
?
getenv
(
"TZ"
)
:
""
));
ret
=
*
p___p__daylight
();
ret
=
*
p___p__daylight
();
...
...
dlls/msvcrt/time.c
View file @
1228f0bb
...
@@ -875,7 +875,7 @@ MSVCRT___time32_t CDECL MSVCRT_time(MSVCRT___time32_t* buf)
...
@@ -875,7 +875,7 @@ MSVCRT___time32_t CDECL MSVCRT_time(MSVCRT___time32_t* buf)
#endif
#endif
/*********************************************************************
/*********************************************************************
* __p_daylight (MSVCRT.@)
* __p_
_
daylight (MSVCRT.@)
*/
*/
int
*
CDECL
MSVCRT___p__daylight
(
void
)
int
*
CDECL
MSVCRT___p__daylight
(
void
)
{
{
...
@@ -883,15 +883,15 @@ int * CDECL MSVCRT___p__daylight(void)
...
@@ -883,15 +883,15 @@ int * CDECL MSVCRT___p__daylight(void)
}
}
/*********************************************************************
/*********************************************************************
* __p_dstbias (MSVCRT.@)
* __p_
_
dstbias (MSVCRT.@)
*/
*/
int
*
CDECL
__p__dstbias
(
void
)
int
*
CDECL
MSVCRT_
__p__dstbias
(
void
)
{
{
return
&
MSVCRT__dstbias
;
return
&
MSVCRT__dstbias
;
}
}
/*********************************************************************
/*********************************************************************
* __p_timezone (MSVCRT.@)
* __p_
_
timezone (MSVCRT.@)
*/
*/
MSVCRT_long
*
CDECL
MSVCRT___p__timezone
(
void
)
MSVCRT_long
*
CDECL
MSVCRT___p__timezone
(
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