[Issue 19453] Remove unnecessary error checks in std.datetime.systime.currStdTime()

2018-12-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19453

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 19453] Remove unnecessary error checks in std.datetime.systime.currStdTime()

2018-12-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19453

--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/0f20fa219cd6d55db02b76e91de45ed344e4cc23
Fix Issue 19453 - Remove unnecessary error checks in
std.datetime.systime.currStdTime()

Posix gettimeofday called with a valid timeval address and a null second
parameter doesn't fail. Posix clock_gettime called with a valid clock_id
is only permitted to fail if the number of seconds does not fit in time_t.

https://github.com/dlang/phobos/commit/deac4ed9472f51f59f15d90feb3355dfd7b86e9c
Merge pull request #6785 from n8sh/issue-19453

Fix Issue 19453 - Remove unnecessary error checks in
std.datetime.systime.currStdTime()
merged-on-behalf-of: Sebastian Wilzbach 

--


[Issue 19453] Remove unnecessary error checks in std.datetime.systime.currStdTime()

2018-11-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19453

--- Comment #1 from Nathan S.  ---
Pull request: https://github.com/dlang/phobos/pull/6785

--