HomeFreeBSD

Fix an off-by-one in TZ determination

Description

Fix an off-by-one in TZ determination

For the systems where /etc/localtime is not a symlink, the patch
for reading /var/db/zoneinfo was chopping off one letter too many.
So you'd end up with "Europe/Amsterda" as timezone, which isn't valid.

Details

Provenance
adridgAuthored on
Parents
rP541829: MFH: r541752
Branches
Unknown
Tags
Unknown