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
576aa4a6
Commit
576aa4a6
authored
Apr 23, 2005
by
Juan Lang
Committed by
Alexandre Julliard
Apr 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export _tzname, expected by Mozilla.
parent
21be2f73
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
2 deletions
+21
-2
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+2
-2
time.c
dlls/msvcrt/time.c
+19
-0
No files found.
dlls/msvcrt/msvcrt.spec
View file @
576aa4a6
...
...
@@ -122,7 +122,7 @@
@ cdecl __p__pgmptr()
@ stub __p__pwctype #()
@ cdecl __p__timezone()
@
stub __p__tzname #
()
@
cdecl __p__tzname
()
@ cdecl __p__wcmdln()
@ cdecl __p__wenviron()
@ cdecl __p__winmajor()
...
...
@@ -472,7 +472,7 @@
# extern _timezone
@ cdecl _tolower(long) MSVCRT__tolower
@ cdecl _toupper(long) MSVCRT__toupper
# extern
_tzname
@ extern _tzname MSVCRT_
_tzname
@ cdecl _tzset() tzset
@ cdecl _ui64toa(long long ptr long) ntdll._ui64toa
@ cdecl _ui64tow(long long ptr long) ntdll._ui64tow
...
...
dlls/msvcrt/time.c
View file @
576aa4a6
...
...
@@ -309,3 +309,22 @@ void *MSVCRT___p__daylight(void)
{
return
&
MSVCRT___daylight
;
}
/*********************************************************************
* _tzname (MSVCRT.@)
* NOTES
* Some apps (notably Mozilla) insist on writing to these, so the buffer
* must be large enough. The size is picked based on observation of
* Windows XP.
*/
static
char
tzname_std
[
64
]
=
""
;
/* FIXME: initialize */
static
char
tzname_dst
[
64
]
=
""
;
/* FIXME: initialize */
char
*
MSVCRT__tzname
[
2
]
=
{
tzname_std
,
tzname_dst
};
/*********************************************************************
* __p_tzname (MSVCRT.@)
*/
char
**
__p__tzname
(
void
)
{
return
MSVCRT__tzname
;
}
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