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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 18 17:29:42 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=19453

--- Comment #2 from github-bugzilla at 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 <sebi.wilzbach at gmail.com>

--


More information about the Digitalmars-d-bugs mailing list