Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Put an edge case into the mktime() tests

  • Loading branch information...
commit 6ca9238ce3c31339de60b39371c4a445d1d30851 1 parent 7608cbe
@schwern authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  t/mktime64.t.c
View
2  t/mktime64.t.c
@@ -21,6 +21,8 @@ int main(void) {
mktime64_ok((Time64_T)-60*60*24*365*143);
mktime64_ok((Time64_T)60*60*24*365*433);
mktime64_ok((Time64_T)-60*60*24*365*433);
+ mktime64_ok((Time64_T)-2147483647);
+ mktime64_ok((Time64_T)2147483647);
/* Test timelocal64 alias to mktime64 */
time = 12345;
Please sign in to comment.
Something went wrong with that request. Please try again.