[41] in pc-kerberos
Re: stupid Microsoft epoch
daemon@ATHENA.MIT.EDU (Paul B. Hill )
Thu Sep 8 12:21:07 1994
To: Jim.Rees@umich.edu
Cc: Andy Adamson <andros@citi.umich.edu>, pc-kerberos@MIT.EDU
Date: Thu, 8 Sep 94 12:19:08
From: pbh@MIT.EDU (Paul B. Hill )
>We're compiling the the DOS clients using Microsoft C 7.0, and one of the
>things we had to change was gettimofday(). It seems that the Microsoft
>time() uses the wrong epoch. This is apparently a feature, not a bug,
>since
>it's in the documentation.
>
>The offset between the Microsoft epoch and the unix epoch is 83abd000 hex.
We don't support MSC 7.0, use MSVC++ 1.0, 1.5,...
Seriously, if you want to provide the patches for a conditional compile
that will do the ugly hack when using MSC 7.0, and still do the right thing
for every other compiler in the world we will include it.
Paul
(new version comming really soon now ) :)