cvs commit: src/sys/sys _timeval.h src/sys/fs/procfs procfs_status.c src/libexec/bootpd bootpd.c src/sys/dev/acpica/Osd OsdSynch.c src/sys/dev/firewire sbp.c

Poul-Henning Kamp phk at
Tue Dec 27 14:01:22 PST 2005

In message <20051227.144928.82232329.imp at>, "M. Warner Losh" writes:
>In message: <47758.1135718178 at>
>            "Poul-Henning Kamp" <phk at> writes:
>: Imagine if the epoch for 64 bit time_t was set to coincide with Julian
>: Day zero using the rather naiive POSIX math:
>: 	N [days] * 86400 [seconds/day]
>: Converting from an old time_t to the new one would entail adding an
>: constant offset, no big deal.
>I'd rather see it as Modified Julian Day, since the MJD has an epoch
>that starts at midnight, while JD starts at noon.

Works for me as well.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the cvs-src mailing list