[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
On Thu, 21 Feb 2008 11:57:46 +1100
Simon Burge <simonb%NetBSD.org@localhost> wrote:
> Patrick Welche wrote:
> > We typedef dtime_t in sys/types.h but don't use it anywhere - is
> > this necessary?
> This was added with:
> revision 1.42
> date: 1999/12/30 15:51:35; author: eeh; state: Exp; lines: +2 -1
> Add dtime_t for on-disk time_t so we can fix the Y2038 problem.
> and then never used. I can't see any reason to keep it either - I
> think all on-disk representations used fixed-size integers like
> uint32_t or uint64_t for times. I'll remove it soonish unless
> someone else comes up with a good reason not to.
Actually, I suggest leaving it. A number of people have been talking
about a concerted effort -- I'd guess a branch -- to convert to 64-bit
time; having this around might be a good idea for now. Delete it
*after* time_t is 64-bit.
--Steve Bellovin, http://www.cs.columbia.edu/~smb
Main Index |
Thread Index |