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
21e6beed
Commit
21e6beed
authored
Apr 11, 2007
by
Kai Blin
Committed by
Alexandre Julliard
Apr 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Don't use settimeofday() to attempt to set the timezone.
parent
2faaa3b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
time.c
dlls/ntdll/time.c
+0
-14
No files found.
dlls/ntdll/time.c
View file @
21e6beed
...
...
@@ -1054,23 +1054,9 @@ NTSTATUS WINAPI RtlQueryTimeZoneInformation(RTL_TIME_ZONE_INFORMATION *tzinfo)
* Success: STATUS_SUCCESS.
* Failure: An NTSTATUS error code indicating the problem.
*
* BUGS
* Uses the obsolete unix timezone structure and tz_dsttime member.
*/
NTSTATUS
WINAPI
RtlSetTimeZoneInformation
(
const
RTL_TIME_ZONE_INFORMATION
*
tzinfo
)
{
#ifdef HAVE_SETTIMEOFDAY
struct
timezone
tz
;
tz
.
tz_minuteswest
=
tzinfo
->
Bias
;
#ifdef DST_NONE
tz
.
tz_dsttime
=
DST_NONE
;
#else
tz
.
tz_dsttime
=
0
;
#endif
if
(
!
settimeofday
(
NULL
,
&
tz
))
return
STATUS_SUCCESS
;
#endif
return
STATUS_PRIVILEGE_NOT_HELD
;
}
...
...
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