]> Savannah Git Hosting - gnulib.git/commit
mktime, timegm: simplify glibc time64_t
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 1 Sep 2018 01:02:48 +0000 (18:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 1 Sep 2018 07:22:53 +0000 (00:22 -0700)
commit15343c31c678b9a50b7930346b78e19971b0054c
tree04755792372d6a0a0854813362ca11f1e5c54890
parent65d3c969a07369768d028581fdc22fd09e447f2b
mktime, timegm: simplify glibc time64_t

* lib/mktime.c, lib/timegm.c (mktime_offset_t) [_LIBC]:
Now long int, not time_t, since long int is the longstanding type
for this in glibc and there is no need to change it even if time_t
becomes 64 bits - even int would do, though this would be a change
to the glibc generated code.  When this change is merged into
glibc, it should simplify the time_t vs time64_t situation.
ChangeLog
lib/mktime.c
lib/timegm.c