summaryrefslogtreecommitdiff
path: root/src/shared/time-dst.c
AgeCommit message (Collapse)Author
2015-03-24timedate: remove daylight saving time handling and tzfile parserKay Sievers
We planned to support (the conceptually broken) daylight saving time/local time features in the kernel, SCSI, networking, FAT filesystem, but it turned out to be a race we cannot win and do not want to get involved. Systemd should not fiddle with daylight saving time or parse timezone information itself. Leave everything to glibc or tools like date(1) and do not make any promises or raise expectations that systemd should handle anything like this.
2015-02-23remove unused includesThomas Hindoe Paaboel Andersen
This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use.
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