home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!slc6!trier
- From: trier@slc6.ins.cwru.edu (Stephen C. Trier)
- Newsgroups: comp.protocols.kerberos
- Subject: Re: Porting problems in V5
- Date: 15 Dec 1992 22:08:44 GMT
- Organization: Case Western Reserve University, Cleveland OH (USA)
- Lines: 28
- Message-ID: <1gll1cINNs0o@usenet.INS.CWRU.Edu>
- References: <9212082146.AA07100@riipsdev.waterloo.ncr.com>
- NNTP-Posting-Host: slc6.ins.cwru.edu
-
- In article <9212082146.AA07100@riipsdev.waterloo.ncr.com> harvard!scubed!riipsdev.waterloo.ncr.com!ajlill@eddie.mit.edu writes:
- >For those of you lucky enough not to have dealt extensively with DOS don't
- >know, the DOS time() call returns the number of seconds since midnight, Dec
- >31, 1899, rather than Jan 1, 1970.
-
- That's strange. Every DOS C compiler I've used returns seconds since
- Jan. 1, 1970. The only time I've seen something based on 1899/1900
- was in code that queried a time server for the time. time()'s very
- definition depends on the Unix epoch of 1/1/70.
-
- Are you perhaps using a time() call that is really a NTP or Time protocol
- wrapper?
-
- No matter what, you have the right solution, I think. A better solution,
- if possible, would be to fix the offset used by your time() call.
-
- >Pepsy (from isode 8.0) turns that into an int when it creates it's
- >tables.
-
- That's a bug in Pepsy-on-DOS, or Pepsy-on-PDP-11 for that matter. :-)
- Someone did a port of ISODE to DOS a while back. You might see if you
- can find that port, since the Pepsy there probably has this bug fixed.
-
- --
- Stephen Trier "We want to offer you a price that you
- Network software type just can't afford to take advantage of."
- Case Western Reserve University - Sales blurb from HSC Software
- trier@ins.cwru.edu
-