[libc-commits] [PATCH] D96684: Changes to mktime to handle invalid dates, overflow and underflow andcalculating the correct date and thenumber of seconds even if invalid datesare passed as arguments.
Raman Tenneti via Phabricator via libc-commits
libc-commits at lists.llvm.org
Sat Feb 20 19:24:25 PST 2021
rtenneti updated this revision to Diff 325271.
rtenneti marked 3 inline comments as done.
rtenneti added a comment.
Fixed comments - Deleted check_mktime function and replaced it
with initializing tm struct and EXPECT_TM_EQ macro.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96684/new/
https://reviews.llvm.org/D96684
Files:
libc/src/time/CMakeLists.txt
libc/src/time/mktime.cpp
libc/src/time/time_utils.h
libc/test/src/time/CMakeLists.txt
libc/test/src/time/TmMatcher.h
libc/test/src/time/mktime_test.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96684.325271.patch
Type: text/x-patch
Size: 40723 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210221/e90336ba/attachment-0001.bin>
More information about the libc-commits
mailing list