Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2007 11:06:29 +0100
From:      Tony Finch <dot@dotat.at>
To:        Greg 'groggy' Lehey <grog@FreeBSD.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, brian@freebsd.org, cvs-all@freebsd.org, "M. Warner Losh" <imp@bsdimp.com>
Subject:   Re: cvs commit: src/usr.bin/touch touch.1 touch.c
Message-ID:  <Pine.LNX.4.64.0704101101450.24971@hermes-1.csi.cam.ac.uk>
In-Reply-To: <20070410050011.GH91694@wantadilla.lemis.com>
References:  <20070409021942.C150B16A529@hub.freebsd.org> <20070409024826.553be564@dev.lan.Awfulhak.org> <20070410010510.GB61460@wantadilla.lemis.com> <20070409.222011.1689682576.imp@bsdimp.com> <20070410050011.GH91694@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 10 Apr 2007, Greg 'groggy' Lehey wrote:
>
> The definition of time_t is simply a number of seconds since a
> specified event.

... modulo leap second adjustments.

time_t cannot encode UTC correctly since you need more than a simple
scalar to do so (e.g. you need a TAI offset or a leap second flag).

Tony.
-- 
f.a.n.finch  <dot@dotat.at>  http://dotat.at/
VIKING NORTH UTSIRE SOUTH UTSIRE: WEST OR SOUTHWEST 4 OR 5, OCCASIONALLY 6 OR
7. MODERATE OR ROUGH, OCCASIONALLY VERY ROUGH. OCCASIONAL RAIN OR DRIZZLE.
MODERATE OR GOOD, OCCASIONALLY POOR.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.64.0704101101450.24971>