summaryrefslogtreecommitdiff
path: root/src/shared/time-dst.c
AgeCommit message (Collapse)Author
2014-12-15shared: time-dst: Avoid buffer overflowMartin Pitt
Commit 681f9718 introduced an additional null terminator for the zone names. Increase the allocation of "transitions" to actually make room for this.
2014-11-29shared: time-dst - ensure nulstr is null terminatedTom Gundersen
Fixes CID #1237772.
2014-07-11always check for __BYTE_ORDER == __BIG_ENDIAN when checking for endianessLennart Poettering
Let's always stick to glibc's way to determine byte order, and not mix autoconf-specific checks with gcc checks.
2014-02-24Remove dead lines in various placesZbigniew Jędrzejewski-Szmek
As pointed-out by clang -Wunreachable-code. No behaviour changes.
2014-02-13everywhere: make use of new0() and macro() macros, and stop using perror()Lennart Poettering
2013-05-02time-dst: use _cleanup_Zbigniew Jędrzejewski-Szmek
2012-11-11timedatectl: properly print 30 minutes DST transitionsKay Sievers
2012-11-02timedatectl: show "DST active: n/a" if no DST data is availableKay Sievers
2012-11-02shared: add timer_get_dst()Kay Sievers