glibc/time
Paul Eggert e1080e7e5f Fix mktime localtime offset confusion
[BZ #23603]
* include/time.h (__mktime_internal): The localtime offset is now
of type long int instead of time_t.  This is the longstanding type
in glibc, and it is more than enough to represent difference
between localtime and gmtime even if it is 32 bits and time_t is
64.  Changing it now will let us avoid an unnecessary change when
time_t is widened to 64 bits on 32-bit platforms.
* time/mktime-internal.h (mktime_offset_t): Now long int.
2018-09-19 17:09:08 -07:00
..
bits/types Use _STRUCT_TIMESPEC as guard in <bits/types/struct_timespec.h> [BZ #23349] 2018-06-28 13:12:16 +02:00
sys Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
adjtime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
alt_digit.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
asctime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bug-asctime_r.c
bug-asctime.c
bug-getdate1.c
bug-mktime1.c
clock.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
clocktest.c
ctime_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ctime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
datemsk
Depend
difftime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
dysize.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
era.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ftime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getdate.c Fix -Os ferror_unlocked linknamespace, localplt issues (bug 15105, bug 19463). 2018-02-19 17:32:34 +00:00
getitimer.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
gettimeofday.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
gmtime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-time-cleanup.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
localtime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Makefile Fix year 2039 bug for localtime with 64-bit time_t (bug 22639). 2018-05-18 11:57:15 +00:00
mktime-internal.h Fix mktime localtime offset confusion 2018-09-19 17:09:08 -07:00
mktime.c Merge mktime, timegm from upstream Gnulib 2018-09-19 17:09:08 -07:00
offtime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setitimer.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
settimeofday.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
stime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
strftime_l.c Abbreviated alternative month names (%Ob) also added (bug 10871). 2018-01-22 11:26:55 +01:00
strftime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
strptime_l.c Abbreviated alternative month names (%Ob) also added (bug 10871). 2018-01-22 11:26:55 +01:00
strptime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
test_time.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
time.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
time.h time: Reference CLOCKS_PER_SEC in clock comment [BZ #22735] 2018-02-02 11:59:31 +01:00
timegm.c Merge mktime, timegm from upstream Gnulib 2018-09-19 17:09:08 -07:00
timespec_get.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst_wcsftime.c
tst-ftime_l.c
tst-ftime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-getdate.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-mktime2.c
tst-mktime3.c
tst-mktime.c
tst-posixtz.c
tst-strftime.c
tst-strptime2.c
tst-strptime3.c
tst-strptime-whitespace.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-strptime.c ru_RU, ru_UA: Add alternative month names (bug 10871). 2018-01-29 13:14:45 +01:00
tst-tzname.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-y2039.c Fix year 2039 bug for localtime with 64-bit time_t (bug 22639). 2018-05-18 11:57:15 +00:00
tzfile.c Simplify tzfile fstat failure code 2018-09-18 15:09:01 -07:00
tzset.c Fix year 2039 bug for localtime with 64-bit time_t (bug 22639). 2018-05-18 11:57:15 +00:00
Versions
wcsftime_l.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
wcsftime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00