mktime.patch

text/x-patch

Filename: mktime.patch
Type: text/x-patch
Part: 0
Message: Re: Redhat 7.3 time manipulation bug

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
glibc-2.2.5/time/mktime.c 2 0
--- glibc-2.2.5/time/mktime.c.org	Tue May 21 11:37:06 2002
+++ glibc-2.2.5/time/mktime.c	Tue May 21 11:39:28 2002
@@ -259,11 +259,13 @@
 
   int sec_requested = sec;
 
+#if 0
   /* Only years after 1970 are defined.
      If year is 69, it might still be representable due to
      timezone differnces.  */
   if (year < 69)
     return -1;
+#endif
 
 #if LEAP_SECONDS_POSSIBLE
   /* Handle out-of-range seconds specially,