summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2016-02-26 12:33:41 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2016-02-26 12:33:41 +0100
commit35f7216f968047be26a922dc09ca588ebca71bb0 (patch)
tree01b41b0a659a06b6b7d67475036a8ce96f6b3cda /configure.ac
parent6369641d6f594557114b78fe740544ecf69a6d37 (diff)
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.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions