libc/newlib/libc/time
Sebastian Huber ad45b86533 Remove harmful casts in gmtime_r()
In case time_t is long, then the cast to long is a nop.  In case time_t
is __int_least64_t, then the cast to long may truncate the value before
the division.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2017-09-07 15:39:34 +02:00
..
Makefile.am Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
Makefile.in Regenerate newlib Makefiles 2016-07-04 17:13:55 +01:00
asctime.c Add missing headers to fix implicit function defns 2017-01-16 10:14:28 +01:00
asctime_r.c 2013-11-25 Sahil Patnayakuni <sahil.patnayakuni@gmail.com> 2013-11-25 13:46:23 +00:00
clock.c * libc/time/clock.c (clock): Fix warnings about signed-unsigned 2014-09-04 08:27:03 +00:00
ctime.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
ctime_r.c
difftime.c 2003-01-21 Anita Kulkarni <anitak@kpit.com> 2003-01-21 19:37:04 +00:00
gettzinfo.c 2005-02-25 Eric Blake <ebb9@byu.net> 2005-02-25 22:31:21 +00:00
gmtime.c 2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-04-29 21:06:23 +00:00
gmtime_r.c Remove harmful casts in gmtime_r() 2017-09-07 15:39:34 +02:00
lcltime.c Add missing headers to fix implicit function defns 2017-01-16 10:14:28 +01:00
lcltime_r.c Avoid excessive locking and calling tzset in time functions. 2015-04-23 21:57:08 +02:00
local.h Add _tzset_unlocked and _tzset_unlocked_r 2015-04-23 21:57:08 +02:00
mktime.c Avoid excessive locking and calling tzset in time functions. 2015-04-23 21:57:08 +02:00
month_lengths.c 2014-09-15 Jeff Johnston <jjohnstn@redhat.com> 2014-09-15 16:05:37 +00:00
strftime.c get_alt_digits: Fix typo in allocation 2016-10-22 21:29:10 +02:00
strptime.c newlib/libc/time/strptime.c(strptime_l) add %F %s support for strptime 2017-08-25 14:04:22 +02:00
time.c Always assign return value to passed pointer in time function. 2016-05-02 16:11:26 -04:00
time.tex * libc/time/strftime.c: Adapt for dual-purpose use so not only 2009-03-09 12:35:03 +00:00
tzcalc_limits.c 2014-09-12 Jeff Johnston <jjohnstn@redhat.com> 2014-09-12 21:41:46 +00:00
tzlock.c Unify names of all lock objects 2017-02-06 16:55:09 -05:00
tzset.c Fix SYNOPSIS prototypes without marked up parameter names 2015-06-23 17:30:22 +01:00
tzset_r.c Add _tzset_unlocked and _tzset_unlocked_r 2015-04-23 21:57:08 +02:00
tzvars.c 2005-11-08 Tom Walsh <tom@openhardware.net> 2005-11-08 22:44:16 +00:00
wcsftime.c Consistently use an em-dash in math functions. 2015-11-02 16:43:22 -05:00