1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-06 01:57:47 +03:00
Martin Pitt 35f7216f96 clock-util: be more tolerant in parsing /etc/adjtime
As we default to "hardware clock is in UTC" if /etc/adjtime is not present, it
also makes sense to have that default if /etc/adjtime contains only one or two
lines.

Drop the "gibberish" test case, as this was just EIO because of not containing
three lines, which is already contained in other tests. clock_is_localtime()
never actually validated the format of the first two lines, and there is little
point in doing that.

This addresses the reading half of issue #2638.
2016-02-26 12:33:41 +01:00
2015-07-06 17:47:38 +02:00
2016-02-24 11:56:11 +01:00
2016-02-12 11:52:02 +08:00
2016-02-12 19:10:01 +01:00
2016-02-22 13:21:32 -05:00
2016-02-23 13:30:09 +01:00
2015-08-31 18:12:37 +02:00
2015-06-03 00:22:53 +02:00
2014-06-04 15:41:10 -04:00
2016-02-23 13:30:09 +01:00
2016-02-24 11:56:11 +01:00
2016-02-23 13:30:09 +01:00
2016-02-23 13:30:09 +01:00

systemd - System and Service Manager

Build Status
Coverity Scan Status

Details

General information about systemd can be found in the systemd Wiki.

Information about build requirements are provided in the README file.

Consult our NEWS file for information about what's new in the most recent systemd versions.

Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.

When preparing patches for systemd, please follow our Coding Style Guidelines.

If you are looking for support, please contact our mailing list or join our IRC channel.

Description
The systemd System and Service Manager
Readme 559 MiB
Languages
C 89.2%
Python 5.3%
Shell 4.1%
Meson 1.2%