tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dtime_t




On Feb 20, 2008, at 4:57 PM, Simon Burge 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.

There is no reason to have dtime_t ... it should be removed, and on- disk structures should simply use fixed-sized types.



Simon.

-- thorpej



Home | Main Index | Thread Index | Old Index