[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
Thu Feb 18 09:07:05 PST 2021


rtenneti updated this revision to Diff 324670.
rtenneti added a comment.

Updated the comments for the years computation algorithm.


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/mktime.h
  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.324670.patch
Type: text/x-patch
Size: 39306 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210218/d26244e9/attachment-0001.bin>


More information about the libc-commits mailing list