HomeFreeBSD

Change the algorithm by which /var/db/leap-seconds is updated.

Description

Change the algorithm by which /var/db/leap-seconds is updated.

  1. Use the leap-seconds version number (update time) to determine whether to update the file or not.
  1. If the version numbers of the files is the same, use the later expiry date to determine which file to use.

Suggested by: ian@
MFC after: 1 day

Details

Provenance
cyAuthored on
Parents
rS304779: Revert r298887 (spelling fix) and remove $FreeBSD$ because text changes
Branches
Unknown
Tags
Unknown